import { type BrowserCookiePreset } from "./gemini-web-config.ts"; export type CookieMap = Record; export type BrowserCookieAttemptStatus = "missing-database" | "missing-required-cookies" | "password-read-failed" | "decryption-failed" | "sqlite-unavailable" | "sqlite-query-failed" | "unsafe-profile" | "no-host-cookies"; export interface BrowserCookieAttemptDiagnostic { browser: string; profile: string; status: BrowserCookieAttemptStatus; } export interface BrowserCookieDiagnosticDetails { message: string; attempts: BrowserCookieAttemptDiagnostic[]; } export declare function getLastGoogleCookieDiagnostic(): string | null; export declare function getLastBrowserCookieDiagnostic(): string | null; export declare function getLastGoogleCookieDiagnosticDetails(): BrowserCookieDiagnosticDetails | null; export declare function getGoogleCookies(options?: { browser?: BrowserCookiePreset | undefined; profile?: string | undefined; requiredCookies?: string[] | undefined; }): Promise<{ cookies: CookieMap; warnings: string[]; } | null>; interface BrowserCookieRequestOptions { hosts: string[]; browser?: BrowserCookiePreset | undefined; profile?: string | undefined; requiredCookies?: string[] | undefined; cookieNames?: Iterable | undefined; requiredLabel?: string | undefined; requestUrl?: URL | undefined; } export declare function getBrowserCookiesForHosts(options: BrowserCookieRequestOptions): Promise<{ cookies: CookieMap; warnings: string[]; cookieHeader?: string; } | null>; export {};