import type { CookieRecord } from './types.js'; export interface CookiesDb { prepare(sql: string): { all(...params: string[]): unknown[]; }; close(): void; } export declare function openCookiesDb(dbPath: string): CookiesDb; export declare function deriveChromeKey(): Buffer; export interface DecryptStats { keyringSkipped: number; } export declare function decryptCookieValue(encrypted: Uint8Array, key: Buffer, stats?: DecryptStats): string | null; export declare function listAuthRelevantHostKeys(db: CookiesDb): string[]; export declare function readCookiesForHost(db: CookiesDb, key: Buffer, host: string, stats?: DecryptStats): CookieRecord[];