import { existsSync, readFileSync, readdirSync, realpathSync } from "node:fs"; import type { Dirent } from "node:fs"; type CredentialFs = { existsSync: (path: Parameters[0]) => ReturnType; readFileSync: (path: Parameters[0], encoding: "utf8") => string; realpathSync: (path: Parameters[0]) => string; readdirSync: (path: Parameters[0], options: { withFileTypes: true; }) => Dirent[]; }; export declare function clearCredentialsCache(): void; export declare function setOAuthCredentialsFsForTest(overrides?: Partial): void; export declare function extractGeminiCliCredentials(): { clientId: string; clientSecret: string; } | null; export declare function resolveOAuthClientConfig(): { clientId: string; clientSecret?: string; }; export {};