import { g as ConnectionPlan, l as StandardConnection, o as CapabilityImplementation, r as CapabilityDispatch, s as ConnectionEndpoint, v as EndpointOffer, y as ResolveConnectionOptions } from "./connection-CdGcSQnu.js"; //#region src/memory.d.ts declare class MemoryConnectionEndpoint implements ConnectionEndpoint { private currentOffer; private readonly implementations; private readonly offerListeners; constructor(offer: EndpointOffer); get offer(): EndpointOffer; replaceOffer(offer: EndpointOffer): void; register(implementation: CapabilityImplementation): () => void; dispatch(invocation: CapabilityDispatch): Promise; onOfferChange(listener: (offer: EndpointOffer) => void): () => void; } interface MemoryConnectionPair { readonly left: StandardConnection; readonly right: StandardConnection; readonly plan: ConnectionPlan; renegotiate(options: ResolveConnectionOptions): ConnectionPlan; close(reason?: string): void; } declare function createMemoryConnectionPair(left: ConnectionEndpoint, right: ConnectionEndpoint, options: ResolveConnectionOptions): MemoryConnectionPair; //#endregion export { MemoryConnectionEndpoint, MemoryConnectionPair, createMemoryConnectionPair }; //# sourceMappingURL=memory.d.ts.map