/** * Generate a deterministic idempotency key from task + payload. * * Uses canonical JSON (sorted keys) so {a:1, b:2} and {b:2, a:1} * produce the same hash. This is the default for direct mode. * * Durable adapters override this with the engine's execution identity * (e.g., Temporal workflowId + activityId + attempt). * * Uses Web Crypto API (not node:crypto) for cross-platform compatibility * with Node, Bun, Deno, and edge runtimes. */ export declare function generateIdempotencyKey(task: string, payload: unknown): Promise; //# sourceMappingURL=idempotency.d.ts.map