import { z } from 'zod'; /** * @deprecated Workers no longer need to accept queue orchestration keys in their Zod schemas. * The runtime strips `__workerQueue`, `__hitlInput`, `__hitlDecision`, `__hitlPending`, and `hitl` * automatically before calling the user handler. Remove `queueOrchestrationFieldsSchema` * and `withQueueOrchestrationEnvelope` from your worker schemas and use plain `z.object({...})`. */ /** * @deprecated No longer needed. The queue runtime strips all envelope keys before the user handler runs. */ declare const queueOrchestrationFieldsSchema: z.ZodObject<{ __workerQueue: z.ZodOptional>; __hitlPending: z.ZodOptional; __hitlInput: z.ZodOptional; __hitlDecision: z.ZodOptional; }, z.core.$strip>; type QueueOrchestrationFields = z.infer; /** * @deprecated No longer needed. The queue runtime strips all envelope keys before the user handler runs. */ declare function withQueueOrchestrationEnvelope>(domain: D): z.ZodObject<{ readonly [x: string]: z.core.$ZodType>; __workerQueue: z.ZodOptional>; __hitlPending: z.ZodOptional; __hitlInput: z.ZodOptional; __hitlDecision: z.ZodOptional; }, z.core.$strip>; export { type QueueOrchestrationFields, queueOrchestrationFieldsSchema, withQueueOrchestrationEnvelope };