import type { Logger, TrueConfResponse } from './types'; export interface WsClientLike { sendRequest(method: string, payload: Record, traceId?: string): Promise; onAuth(listener: () => void): () => void; } /** * In-memory at-least-once delivery queue for TrueConf outbound requests. * * FIFO is preserved within the parked-set on each drain. Items submitted * concurrently with a drain are not order-guaranteed against parked items * (the in-flight drain holds a snapshot of pending IDs at start; a fresh * `submit` lands in `pending` but may attempt before the drain finishes). */ export declare class OutboundQueue { private readonly client; private readonly logger; private readonly pending; private idCounter; private draining; private terminalError; private offAuth; constructor(client: WsClientLike, logger: Logger); submit(method: string, payload: Record): Promise; private attempt; private isReconnectable; failAll(err: Error): void; private drain; } //# sourceMappingURL=outbound-queue.d.ts.map