/** * Gemini CLI OAuth flow (Google Cloud Code Assist) * Standard Gemini models only (gemini-2.0-flash, gemini-2.5-*) */ import type { AfterExchangeHook } from "../hooks/types.js"; interface LongRunningOperationResponse { name?: string; done?: boolean; response?: { cloudaicompanionProject?: { id?: string; }; }; } export declare const POLL_MAX_ATTEMPTS = 24; export declare function pollOperation(operationName: string, headers: Record, signal: AbortSignal | undefined, onProgress?: (message: string) => void): Promise; /** Resolves the project after login and preserves it across refresh responses. */ export declare const googleGeminiCliProjectHook: AfterExchangeHook; export {};