/** Complete envelope validation before a batch or pipeline can execute side effects. */ import type { BatchCommand, BatchRequest } from './batch.js'; import type { CommandError } from './errors.js'; import type { PipelineRequest, PipelineStep } from './pipeline.js'; export declare function isBatchCommand(value: unknown): value is BatchCommand; export declare function isBatchRequest(value: unknown): value is BatchRequest; export declare function isPipelineStep(value: unknown): value is PipelineStep; /** * Check pipeline limits that apply after the envelope is valid: step inputs and the request * `input` may nest at most 64 levels. Returns a `VALIDATION_ERROR`, or undefined when within * limits. Iterative, so deep or cyclic inputs never overflow the stack. */ export declare function pipelineLimitError(request: PipelineRequest): CommandError | undefined; export declare function isPipelineRequest(value: unknown): value is PipelineRequest; //# sourceMappingURL=request-validation.d.ts.map