import type { ProviderModelSettingsMap } from '../lib/api-client/config'; export declare function useAuthStatus(): { authStatus: import("..").AuthStatus; isOpen: boolean; initialized: boolean; fetchAuthStatus: () => Promise<{ onboardingComplete: boolean; ottorouter: { configured: boolean; expiresAt?: number; }; providers: Record; defaults: { agent: string; provider: string; model: string; toolApproval?: "auto" | "dangerous" | "all" | "yolo"; guidedMode?: boolean; fullWidthContent?: boolean; }; }>; checkOnboarding: () => Promise; addProvider: (provider: string, apiKey: string) => Promise<{ success: boolean; provider: string; }>; addCustomProvider: (data: { id: string; label: string; baseURL: string; apiKey?: string; compatibility: "openai-compatible" | "openai" | "anthropic" | "google" | "openrouter" | "ollama"; models: ProviderModelSettingsMap; allowAnyModel: boolean; }) => Promise<{ success: boolean; provider: string; }>; removeProvider: (provider: string) => Promise<{ success: boolean; provider: string; }>; completeOnboarding: () => Promise; startOAuth: (provider: string, mode?: string) => Window; startOAuthManual: (provider: string, mode?: string) => Promise<{ popup: Window; sessionId: string; }>; exchangeOAuthCode: (provider: string, code: string, sessionId: string) => Promise; startOpenAIDeviceFlow: any; pollOpenAIDeviceFlow: (sessionId: string) => Promise<{ status: "complete" | "pending" | "error"; error?: string; }>; startXaiDeviceFlow: any; pollXaiDeviceFlow: (sessionId: string) => Promise<{ status: "complete" | "pending" | "error"; error?: string; }>; startCopilotDeviceFlow: any; pollCopilotDeviceFlow: (sessionId: string) => Promise<{ status: "complete" | "pending" | "error"; error?: string; }>; startKimiDeviceFlow: any; pollKimiDeviceFlow: (sessionId: string) => Promise<{ status: "complete" | "pending" | "error"; error?: string; }>; startOttoRouterDeviceFlow: any; pollOttoRouterDeviceFlow: (sessionId: string) => Promise<{ status: "complete" | "pending" | "error"; error?: string; }>; getCopilotAuthMethods: any; saveCopilotToken: (token: string) => Promise<{ success: boolean; provider: string; source: "token"; modelCount: number; hasGpt52Codex: boolean; sampleModels: string[]; }>; importCopilotTokenFromGh: () => Promise<{ success: boolean; provider: string; source: "gh"; modelCount: number; hasGpt52Codex: boolean; sampleModels: string[]; }>; getCopilotDiagnostics: any; }; //# sourceMappingURL=useAuthStatus.d.ts.map