import { AsyncLocalStorage } from 'node:async_hooks'; export interface ReplyPayload { method: string; params: Record; } /** * one-shot slot threaded through dispatch via AsyncLocalStorage. the first * api call in a handler claims the slot; the webhook handler reads `payload` * and writes it as the json body of the 200 response, skipping the http call */ export declare class ReplySlot { consumed: boolean; payload: ReplyPayload | undefined; readonly claimed: Promise; private resolveClaimed; constructor(); tryClaim(method: string, params: Record): boolean; } export declare const replyAls: AsyncLocalStorage; //# sourceMappingURL=reply.d.ts.map