/** * Pluggable store interface for testing. * Default implementation uses IndexedDB. Tests can replace with an in-memory store. */ export interface ShareStore { get(key: string): Promise; set(key: string, value: any): Promise; } /** Replace the default IndexedDB store (mainly for testing). */ export declare function setShareStore(s: ShareStore): void; export declare function share(...proxies: any[]): Promise<{ restored: any[]; }>;