export declare function useAuthStatus(): {
    authStatus: import("..").AuthStatus;
    isOpen: boolean;
    initialized: boolean;
    fetchAuthStatus: () => Promise<{
        onboardingComplete: boolean;
        ottorouter: {
            configured: boolean;
            publicKey?: string;
        };
        providers: Record<string, {
            configured: boolean;
            type?: "api" | "oauth" | "wallet";
            label: string;
            supportsOAuth: boolean;
            supportsToken?: boolean;
            supportsGhImport?: boolean;
            custom?: boolean;
            modelCount: number;
            costRange?: {
                min: number;
                max: number;
            };
        }>;
        defaults: {
            agent: string;
            provider: string;
            model: string;
            toolApproval?: "auto" | "dangerous" | "all" | "yolo";
        };
    }>;
    checkOnboarding: () => Promise<void>;
    setupWallet: () => Promise<{
        success: boolean;
        publicKey: string;
        isNew: boolean;
    }>;
    importWallet: (privateKey: string) => Promise<{
        success: boolean;
        publicKey: string;
    }>;
    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: string[];
        allowAnyModel: boolean;
    }) => Promise<{
        success: boolean;
        provider: string;
    }>;
    removeProvider: (provider: string) => Promise<{
        success: boolean;
        provider: string;
    }>;
    completeOnboarding: () => Promise<void>;
    startOAuth: (provider: string, mode?: string) => Window;
    startOAuthManual: (provider: string, mode?: string) => Promise<{
        popup: Window;
        sessionId: string;
    }>;
    exchangeOAuthCode: (provider: string, code: string, sessionId: string) => Promise<boolean>;
    startOpenAIDeviceFlow: any;
    pollOpenAIDeviceFlow: (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;
    }>;
    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