import { type WorkOrderRecord } from './task-ledger.js'; import type { TemporalWorkContext } from './temporal-effect.js'; export interface TemporalWorkerPayload { generationKey: string; taskId: number; temporalEpoch: number; occurrenceKey: string; checkAt: number; sourceChannel: string | null; sourceEventId: string | null; attempts: number; } export declare function parseTemporalWorkerPayload(value: unknown): TemporalWorkerPayload; export interface TemporalContextSource { loadTemporalWorkContext(attemptId: number): TemporalWorkContext; } export declare function buildTemporalWorkerContext(source: TemporalContextSource, workOrder: WorkOrderRecord): TemporalWorkContext; export declare function buildTemporalWorkerBrief(): string; //# sourceMappingURL=temporal-worker.d.ts.map