import type { ChainServerDrivenContinuationDeps, ContinuationDispatchBudget } from "../production-agent.js"; export type ContinuationDispatchRetryDeps = Required>; export declare function attemptContinuationDispatch(params: { event: unknown; chainViaDurableBackground: boolean; backgroundContinuationCount: number; nextRunId: string; nextRowInserted: boolean; continuationDispatchPath: string; dispatchBody: Record; dispatchBudget: ContinuationDispatchBudget; isLoopProtectionDispatchError: (err: unknown) => boolean; maxNestedSelfDispatchDepth: number; deps: ContinuationDispatchRetryDeps; random?: () => number; /** Wall clock for the overload budget; injectable so specs need no timers. */ now?: () => number; }): Promise<{ dispatched: boolean; lastDispatchErr: unknown; nestedDepthExceeded: boolean; }>;