/**
 * Queue `work` so it runs only after any previously-queued work for the same
 * `anchor` has settled (resolved OR rejected — a failing handler never blocks
 * the next message) OR `capMs` elapses (a slow/hung handler must not block the
 * queue indefinitely). Returns a promise that settles with `work`'s outcome, so
 * callers can still attach `.catch` for logging. Different anchors are
 * independent and run concurrently.
 */
export declare function serializeByAnchor(anchor: string, work: () => Promise<void>, capMs?: number): Promise<void>;
/** Test-only: clear all queues between cases. */
export declare function __resetAnchorQueues(): void;
//# sourceMappingURL=anchor-serializer.d.ts.map