/** * Run one operation exclusively across every browser context on the origin. * Non-browser runtimes use a module-wide queue, which coordinates every * caller in the process. */ export declare function runWithCrossContextLock(name: string, operation: () => Promise): Promise; /** * Serialize operations sharing one key through a pending-completion map: each * operation chains behind the key's tail, failures never poison the queue, * and the tail entry removes itself once no successor has replaced it. */ export declare function runSerializedByKey(pending: Map>, key: string, operation: () => Promise): Promise; //# sourceMappingURL=cross-context-lock.d.ts.map