import type { BrowserContext } from "playwright"; export type StorageState = Awaited>; export interface BrowserProfileStoreConfig { profileDir: string; } export declare class BrowserProfileStore { private readonly config; private readonly writeChains; constructor(config: BrowserProfileStoreConfig); private filePath; private enqueueWrite; load(scopeKey: string): Promise; save(scopeKey: string, next: StorageState): Promise; clear(scopeKey: string): Promise; } export declare function mergeStorageState(prev: StorageState | undefined, next: StorageState): StorageState;