/**
 * Gemini CLI (Google Cloud Code Assist) OAuth Service
 * Uses standard OAuth2 Authorization Code flow (no PKCE)
 */
export declare class GeminiAuthService {
    private clientId;
    private clientSecret;
    private authorizeUrl;
    private tokenUrl;
    private userInfoUrl;
    private scopes;
    constructor(clientId: string, clientSecret: string, authorizeUrl: string, tokenUrl: string, userInfoUrl: string, scopes: string[]);
    /**
     * Build Gemini authorization URL
     */
    buildAuthUrl(redirectUri: string, state: string): string;
    /**
     * Exchange authorization code for tokens
     */
    exchangeCode(code: string, redirectUri: string): Promise<any>;
    /**
     * Fetch project ID from Google Cloud Code Assist
     */
    fetchProjectId(accessToken: string): Promise<string>;
    /**
     * Get user info from Google
     */
    getUserInfo(accessToken: string): Promise<any>;
    /**
     * Save Gemini tokens (to be implemented by account manager)
     */
    saveTokens(tokens: any, userInfo: any, projectId: string): Promise<any>;
    /**
     * Get OAuth client metadata (platform detection)
     */
    getOAuthClientMetadata(): any;
    /**
     * Complete Gemini OAuth flow
     */
    connect(): Promise<boolean>;
}
//# sourceMappingURL=gemini-auth.d.ts.map