/** * Tracks one-shot request/response pairs over the `postMessage` bridge. Each `allocate` reserves a * unique `requestId` and stores its resolver. `resolve` finds the pending resolver by `requestId` * and calls it, then removes the entry so the same `requestId` cannot be resolved twice. */ export declare class PendingRequests { private readonly prefix; private nextId; private readonly entries; constructor(prefix: string); allocate(resolver: (value: T) => void): string; resolve(requestId: string, value: T): boolean; } //# sourceMappingURL=pendingRequests.d.ts.map