//#region extensions/google/cli-backend-isolated-auth.runtime.d.ts
export declare const GEMINI_CLI_EXACT_TOOL_ENV_BARRIERS: Record<string, string>;
export type GeminiCliRestrictedAuthContext = {
  workspaceDir?: string;
  baseEnv?: Record<string, string>;
  systemSettingsPath?: string;
  isolatedCompletionPrompt?: string;
  isolatedCompletionSystemPrompt?: string;
};
type GeminiCliAmbientAuth = {
  selectedType?: string;
  envOverrides: Record<string, string>;
  safeSettings: Record<string, unknown>;
};
export declare function isolatedCompletionInputError(message: string): Error & {
  code: "input-rejected";
};
export declare function isolatedCompletionUnsupportedError(message: string): Error & {
  code: "unsupported";
};
export declare function assertGeminiCliLiteralIsolatedPrompt(ctx: GeminiCliRestrictedAuthContext): boolean;
export declare function readGeminiCliJsonObject(filePath: string | undefined): Promise<Record<string, unknown>>;
export declare function resolveGeminiCliTrustedTransportEnv(ctx: GeminiCliRestrictedAuthContext): Promise<Record<string, string>>;
export declare function resolveGeminiCliAmbientAuth(ctx: GeminiCliRestrictedAuthContext): Promise<GeminiCliAmbientAuth>;
//#endregion