use serde::Deserialize;
pub use agent_core::{StreamEvent, LlmEvent, SessionEvent, AgentEvent};
#[derive(Debug, Clone)]
pub(super) struct AuthState {
pub(super) auth_token: String,
pub(super) auth_type: String,
pub(super) refresh_token: Option<String>,
pub(super) token_expires: Option<u64>,
}
#[derive(Debug, Deserialize)]
pub(super) struct PiAuth {
pub(super) anthropic: AnthropicAuth,
}
#[allow(dead_code)]
#[derive(Debug, Deserialize)]
pub(super) struct AnthropicAuth {
#[serde(rename = "type")]
pub(super) auth_type: String,
pub(super) refresh: Option<String>,
pub(super) access: Option<String>,
pub(super) expires: Option<u64>,
pub(super) key: Option<String>,
}