import { z } from "zod/v4"; import type { RequireKeys } from "../types/index.js"; export * from "./scheduleWindow.js"; export declare const EnvironmentType: z.ZodEnum<{ DEVELOPMENT: "DEVELOPMENT"; PREVIEW: "PREVIEW"; PRODUCTION: "PRODUCTION"; STAGING: "STAGING"; }>; export type EnvironmentType = z.infer; export declare const RunEngineVersionSchema: z.ZodEnum<{ V1: "V1"; V2: "V2"; }>; export declare const TaskRunExecutionMetric: z.ZodObject<{ name: z.ZodString; event: z.ZodString; timestamp: z.ZodNumber; duration: z.ZodNumber; }, z.core.$strip>; export type TaskRunExecutionMetric = z.infer; export declare const TaskRunExecutionMetrics: z.ZodArray>; export type TaskRunExecutionMetrics = z.infer; export declare const TaskRunExecutionPayload: z.ZodObject<{ execution: z.ZodObject<{ task: z.ZodObject<{ id: z.ZodString; filePath: z.ZodString; }, z.core.$loose>; queue: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, z.core.$strip>; environment: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; type: z.ZodEnum<{ DEVELOPMENT: "DEVELOPMENT"; PREVIEW: "PREVIEW"; PRODUCTION: "PRODUCTION"; STAGING: "STAGING"; }>; branchName: z.ZodOptional; git: z.ZodOptional; source: z.ZodOptional>; ghUsername: z.ZodOptional; ghUserAvatarUrl: z.ZodOptional; commitAuthorName: z.ZodOptional; commitMessage: z.ZodOptional; commitRef: z.ZodOptional; commitSha: z.ZodOptional; dirty: z.ZodOptional; remoteUrl: z.ZodOptional; pullRequestNumber: z.ZodOptional; pullRequestTitle: z.ZodOptional; pullRequestState: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; organization: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; name: z.ZodString; }, z.core.$strip>; project: z.ZodObject<{ id: z.ZodString; ref: z.ZodString; slug: z.ZodString; name: z.ZodString; }, z.core.$strip>; machine: z.ZodObject<{ name: z.ZodEnum<{ "large-1x": "large-1x"; "large-2x": "large-2x"; "medium-1x": "medium-1x"; "medium-2x": "medium-2x"; micro: "micro"; "small-1x": "small-1x"; "small-2x": "small-2x"; }>; cpu: z.ZodNumber; memory: z.ZodNumber; centsPerMs: z.ZodNumber; }, z.core.$strip>; batch: z.ZodOptional>; deployment: z.ZodOptional; source: z.ZodOptional>; ghUsername: z.ZodOptional; ghUserAvatarUrl: z.ZodOptional; commitAuthorName: z.ZodOptional; commitMessage: z.ZodOptional; commitRef: z.ZodOptional; commitSha: z.ZodOptional; dirty: z.ZodOptional; remoteUrl: z.ZodOptional; pullRequestNumber: z.ZodOptional; pullRequestTitle: z.ZodOptional; pullRequestState: z.ZodOptional>; }, z.core.$strip>>; externalId: z.ZodOptional; }, z.core.$strip>>; attempt: z.ZodObject<{ number: z.ZodNumber; startedAt: z.ZodCoercedDate; }, z.core.$loose>; run: z.ZodIntersection; isTest: z.ZodDefault; isReplay: z.ZodDefault; createdAt: z.ZodCoercedDate; startedAt: z.ZodDefault>; idempotencyKey: z.ZodOptional; idempotencyKeyScope: z.ZodOptional>; maxAttempts: z.ZodOptional; version: z.ZodOptional; metadata: z.ZodOptional>>>; maxDuration: z.ZodOptional; priority: z.ZodOptional; baseCostInCents: z.ZodOptional; parentTaskRunId: z.ZodOptional; rootTaskRunId: z.ZodOptional; durationMs: z.ZodOptional; costInCents: z.ZodOptional; region: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ traceContext: z.ZodOptional>; realtimeStreamsVersion: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; traceContext: z.ZodRecord; environment: z.ZodOptional>; metrics: z.ZodOptional>>; }, z.core.$strip>; export type TaskRunExecutionPayload = z.infer; export declare const V3ProdTaskRunExecution: z.ZodObject<{ task: z.ZodObject<{ id: z.ZodString; filePath: z.ZodString; exportName: z.ZodOptional; }, z.core.$strip>; attempt: z.ZodObject<{ number: z.ZodNumber; startedAt: z.ZodCoercedDate; id: z.ZodString; backgroundWorkerId: z.ZodString; backgroundWorkerTaskId: z.ZodString; status: z.ZodString; }, z.core.$strip>; run: z.ZodIntersection; isTest: z.ZodDefault; isReplay: z.ZodDefault; createdAt: z.ZodCoercedDate; startedAt: z.ZodDefault>; idempotencyKey: z.ZodOptional; idempotencyKeyScope: z.ZodOptional>; maxAttempts: z.ZodOptional; version: z.ZodOptional; metadata: z.ZodOptional>>>; maxDuration: z.ZodOptional; context: z.ZodUnknown; durationMs: z.ZodNumber; costInCents: z.ZodNumber; baseCostInCents: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ traceContext: z.ZodOptional>; }, z.core.$strip>>; queue: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, z.core.$strip>; environment: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; type: z.ZodEnum<{ DEVELOPMENT: "DEVELOPMENT"; PREVIEW: "PREVIEW"; PRODUCTION: "PRODUCTION"; STAGING: "STAGING"; }>; branchName: z.ZodOptional; git: z.ZodOptional; source: z.ZodOptional>; ghUsername: z.ZodOptional; ghUserAvatarUrl: z.ZodOptional; commitAuthorName: z.ZodOptional; commitMessage: z.ZodOptional; commitRef: z.ZodOptional; commitSha: z.ZodOptional; dirty: z.ZodOptional; remoteUrl: z.ZodOptional; pullRequestNumber: z.ZodOptional; pullRequestTitle: z.ZodOptional; pullRequestState: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; organization: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; name: z.ZodString; }, z.core.$strip>; project: z.ZodObject<{ id: z.ZodString; ref: z.ZodString; slug: z.ZodString; name: z.ZodString; }, z.core.$strip>; batch: z.ZodOptional>; worker: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; version: z.ZodString; type: z.ZodOptional>; }, z.core.$strip>; machine: z.ZodDefault; cpu: z.ZodNumber; memory: z.ZodNumber; centsPerMs: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; export type V3ProdTaskRunExecution = z.infer; export declare const V3ProdTaskRunExecutionPayload: z.ZodObject<{ execution: z.ZodObject<{ task: z.ZodObject<{ id: z.ZodString; filePath: z.ZodString; exportName: z.ZodOptional; }, z.core.$strip>; attempt: z.ZodObject<{ number: z.ZodNumber; startedAt: z.ZodCoercedDate; id: z.ZodString; backgroundWorkerId: z.ZodString; backgroundWorkerTaskId: z.ZodString; status: z.ZodString; }, z.core.$strip>; run: z.ZodIntersection; isTest: z.ZodDefault; isReplay: z.ZodDefault; createdAt: z.ZodCoercedDate; startedAt: z.ZodDefault>; idempotencyKey: z.ZodOptional; idempotencyKeyScope: z.ZodOptional>; maxAttempts: z.ZodOptional; version: z.ZodOptional; metadata: z.ZodOptional>>>; maxDuration: z.ZodOptional; context: z.ZodUnknown; durationMs: z.ZodNumber; costInCents: z.ZodNumber; baseCostInCents: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ traceContext: z.ZodOptional>; }, z.core.$strip>>; queue: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, z.core.$strip>; environment: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; type: z.ZodEnum<{ DEVELOPMENT: "DEVELOPMENT"; PREVIEW: "PREVIEW"; PRODUCTION: "PRODUCTION"; STAGING: "STAGING"; }>; branchName: z.ZodOptional; git: z.ZodOptional; source: z.ZodOptional>; ghUsername: z.ZodOptional; ghUserAvatarUrl: z.ZodOptional; commitAuthorName: z.ZodOptional; commitMessage: z.ZodOptional; commitRef: z.ZodOptional; commitSha: z.ZodOptional; dirty: z.ZodOptional; remoteUrl: z.ZodOptional; pullRequestNumber: z.ZodOptional; pullRequestTitle: z.ZodOptional; pullRequestState: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; organization: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; name: z.ZodString; }, z.core.$strip>; project: z.ZodObject<{ id: z.ZodString; ref: z.ZodString; slug: z.ZodString; name: z.ZodString; }, z.core.$strip>; batch: z.ZodOptional>; worker: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; version: z.ZodString; type: z.ZodOptional>; }, z.core.$strip>; machine: z.ZodDefault; cpu: z.ZodNumber; memory: z.ZodNumber; centsPerMs: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; traceContext: z.ZodRecord; environment: z.ZodOptional>; metrics: z.ZodOptional>>; }, z.core.$strip>; export type V3ProdTaskRunExecutionPayload = z.infer; export declare const FixedWindowRateLimit: z.ZodObject<{ type: z.ZodLiteral<"fixed-window">; limit: z.ZodNumber; window: z.ZodUnion, z.ZodObject<{ minutes: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ hours: z.ZodNumber; }, z.core.$strip>]>; }, z.core.$strip>; export declare const SlidingWindowRateLimit: z.ZodObject<{ type: z.ZodLiteral<"sliding-window">; limit: z.ZodNumber; window: z.ZodUnion, z.ZodObject<{ minutes: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ hours: z.ZodNumber; }, z.core.$strip>]>; }, z.core.$strip>; export declare const RateLimitOptions: import("../utils/zod.js").CompatibleZodDiscriminatedUnion; limit: z.ZodNumber; window: z.ZodUnion, z.ZodObject<{ minutes: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ hours: z.ZodNumber; }, z.core.$strip>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sliding-window">; limit: z.ZodNumber; window: z.ZodUnion, z.ZodObject<{ minutes: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ hours: z.ZodNumber; }, z.core.$strip>]>; }, z.core.$strip>]>; export type RateLimitOptions = z.infer; export declare const RetryOptions: z.ZodObject<{ maxAttempts: z.ZodOptional; factor: z.ZodOptional; minTimeoutInMs: z.ZodOptional; maxTimeoutInMs: z.ZodOptional; randomize: z.ZodOptional; outOfMemory: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; export type RetryOptions = z.infer; export declare const QueueManifest: z.ZodObject<{ name: z.ZodString; concurrencyLimit: z.ZodNullable>; combinedConcurrencyLimit: z.ZodNullable>; }, z.core.$strip>; export type QueueManifest = z.infer; /** A gate a task's runs must also hold a concurrency slot in while executing. * `queue` is the gate queue's name. When `concurrencyKey` is omitted the run's own * `concurrencyKey` is used, so the gate is keyed per tenant; a literal value pins * the gate to one shared slot pool. */ export declare const QueueGateManifest: z.ZodObject<{ queue: z.ZodString; concurrencyKey: z.ZodOptional; }, z.core.$strip>; export type QueueGateManifest = z.infer; /** One limit shape everywhere a limit appears: perKey caps each concurrencyKey pool * (runs without a key share one pool); total caps across everything, keys or not. * Limits start at 1 — "block everything" is a pause or an override, not a declared * limit — so a stored zero always means "no limit" in metrics and engine keys. */ export declare const ConcurrencyShapeManifest: z.ZodObject<{ perKey: z.ZodOptional; total: z.ZodOptional; }, z.core.$strip>; export type ConcurrencyShapeManifest = z.infer; /** A named, shareable concurrency limit declared with concurrencyLimit(). */ export declare const ConcurrencyLimitManifest: z.ZodObject<{ perKey: z.ZodOptional; total: z.ZodOptional; name: z.ZodString; }, z.core.$strip>; export type ConcurrencyLimitManifest = z.infer; /** A task's concurrency declaration: an optional inline limit scoped to the task, * plus up to two named limits the task's runs also hold while executing. */ export declare const TaskConcurrencyManifest: z.ZodObject<{ inline: z.ZodOptional; total: z.ZodOptional; }, z.core.$strip>>; limits: z.ZodOptional>; }, z.core.$strip>; export type TaskConcurrencyManifest = z.infer; export declare const ScheduleMetadata: z.ZodObject<{ cron: z.ZodString; timezone: z.ZodString; environments: z.ZodOptional>>; window: z.ZodOptional; }, z.core.$strip>; export declare const TaskMetadata: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; queue: z.ZodOptional>; combinedConcurrencyLimit: z.ZodNullable>; name: z.ZodOptional; }, z.core.$strip>>; gates: z.ZodOptional; }, z.core.$strip>>>; concurrency: z.ZodOptional; total: z.ZodOptional; }, z.core.$strip>>; limits: z.ZodOptional>; }, z.core.$strip>>; retry: z.ZodOptional; factor: z.ZodOptional; minTimeoutInMs: z.ZodOptional; maxTimeoutInMs: z.ZodOptional; randomize: z.ZodOptional; outOfMemory: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; machine: z.ZodOptional, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>; memory: z.ZodOptional, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>; preset: z.ZodOptional>; }, z.core.$strip>>; triggerSource: z.ZodOptional; agentConfig: z.ZodOptional>; schedule: z.ZodOptional>>; window: z.ZodOptional; }, z.core.$strip>>; maxDuration: z.ZodOptional; ttl: z.ZodOptional>; payloadSchema: z.ZodOptional; }, z.core.$strip>; export type TaskMetadata = z.infer; export declare const TaskFile: z.ZodObject<{ entry: z.ZodString; out: z.ZodString; }, z.core.$strip>; export type TaskFile = z.infer; export declare const TaskFileMetadata: z.ZodObject<{ filePath: z.ZodString; exportName: z.ZodOptional; entryPoint: z.ZodString; }, z.core.$strip>; export type TaskFileMetadata = z.infer; export declare const TaskManifest: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; queue: z.ZodOptional>; combinedConcurrencyLimit: z.ZodNullable>; name: z.ZodOptional; }, z.core.$strip>>; gates: z.ZodOptional; }, z.core.$strip>>>; concurrency: z.ZodOptional; total: z.ZodOptional; }, z.core.$strip>>; limits: z.ZodOptional>; }, z.core.$strip>>; retry: z.ZodOptional; factor: z.ZodOptional; minTimeoutInMs: z.ZodOptional; maxTimeoutInMs: z.ZodOptional; randomize: z.ZodOptional; outOfMemory: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; machine: z.ZodOptional, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>; memory: z.ZodOptional, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>; preset: z.ZodOptional>; }, z.core.$strip>>; triggerSource: z.ZodOptional; agentConfig: z.ZodOptional>; schedule: z.ZodOptional>>; window: z.ZodOptional; }, z.core.$strip>>; maxDuration: z.ZodOptional; ttl: z.ZodOptional>; payloadSchema: z.ZodOptional; filePath: z.ZodString; exportName: z.ZodOptional; entryPoint: z.ZodString; }, z.core.$strip>; export type TaskManifest = z.infer; export declare const PromptMetadata: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; content: z.ZodOptional; model: z.ZodOptional; config: z.ZodOptional>; variableSchema: z.ZodOptional; }, z.core.$strip>; export type PromptMetadata = z.infer; export declare const PromptManifest: z.ZodObject<{ filePath: z.ZodString; exportName: z.ZodOptional; entryPoint: z.ZodString; id: z.ZodString; description: z.ZodOptional; content: z.ZodOptional; model: z.ZodOptional; config: z.ZodOptional>; variableSchema: z.ZodOptional; }, z.core.$strip>; export type PromptManifest = z.infer; export declare const SkillMetadata: z.ZodObject<{ id: z.ZodString; sourcePath: z.ZodString; }, z.core.$strip>; export type SkillMetadata = z.infer; export declare const SkillManifest: z.ZodObject<{ filePath: z.ZodString; exportName: z.ZodOptional; entryPoint: z.ZodString; id: z.ZodString; sourcePath: z.ZodString; }, z.core.$strip>; export type SkillManifest = z.infer; export declare const WebhookEndpointMetadata: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; source: z.ZodString; verifierArtifact: import("../utils/zod.js").CompatibleZodDiscriminatedUnion; config: import("../utils/zod.js").CompatibleZodDiscriminatedUnion; algorithm: z.ZodEnum<{ sha1: "sha1"; sha256: "sha256"; }>; encoding: z.ZodEnum<{ base64: "base64"; hex: "hex"; }>; signatureHeader: z.ZodString; additionalSignatureHeaders: z.ZodOptional>; signature: z.ZodOptional; fieldSeparator: z.ZodOptional; field: z.ZodOptional; trim: z.ZodOptional; }, z.core.$strip>>; timestamp: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>; unit: z.ZodOptional>; format: z.ZodOptional>; toleranceSeconds: z.ZodOptional; }, z.core.$strip>>; signingString: z.ZodUnion, z.ZodObject<{ template: z.ZodString; vars: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>>>; }, z.core.$strip>]>; secret: z.ZodOptional>; stripPrefix: z.ZodOptional; }, z.core.$strip>>; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; formPayload: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"shared-secret">; placement: z.ZodEnum<{ basic: "basic"; bearer: "bearer"; body: "body"; header: "header"; }>; fieldName: z.ZodOptional; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"url-secret">; placement: z.ZodEnum<{ path: "path"; query: "query"; }>; paramName: z.ZodString; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"asymmetric">; algorithm: z.ZodEnum<{ "ecdsa-p256": "ecdsa-p256"; ed25519: "ed25519"; "rsa-sha256": "rsa-sha256"; }>; encoding: z.ZodEnum<{ base64: "base64"; hex: "hex"; }>; signatureHeader: z.ZodString; signature: z.ZodOptional; fieldSeparator: z.ZodOptional; field: z.ZodOptional; trim: z.ZodOptional; }, z.core.$strip>>; timestamp: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>; unit: z.ZodOptional>; format: z.ZodOptional>; toleranceSeconds: z.ZodOptional; }, z.core.$strip>>; signingString: z.ZodUnion, z.ZodObject<{ template: z.ZodString; vars: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>>>; }, z.core.$strip>]>; publicKeyEncoding: z.ZodOptional>; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>]>; handshake: z.ZodOptional; respondStatus: z.ZodOptional, z.ZodLiteral<204>]>>; }, z.core.$strip>>; getHandshake: z.ZodOptional; matchValue: z.ZodOptional; tokenParam: z.ZodString; challengeParam: z.ZodString; }, z.core.$strip>>; response: z.ZodOptional, z.ZodLiteral<202>, z.ZodLiteral<204>]>>; acceptedBody: z.ZodOptional>; rejectedStatus: z.ZodOptional, z.ZodLiteral<401>, z.ZodLiteral<403>]>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"preset">; preset: z.ZodString; config: import("../utils/zod.js").CompatibleZodDiscriminatedUnion; algorithm: z.ZodEnum<{ sha1: "sha1"; sha256: "sha256"; }>; encoding: z.ZodEnum<{ base64: "base64"; hex: "hex"; }>; signatureHeader: z.ZodString; additionalSignatureHeaders: z.ZodOptional>; signature: z.ZodOptional; fieldSeparator: z.ZodOptional; field: z.ZodOptional; trim: z.ZodOptional; }, z.core.$strip>>; timestamp: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>; unit: z.ZodOptional>; format: z.ZodOptional>; toleranceSeconds: z.ZodOptional; }, z.core.$strip>>; signingString: z.ZodUnion, z.ZodObject<{ template: z.ZodString; vars: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>>>; }, z.core.$strip>]>; secret: z.ZodOptional>; stripPrefix: z.ZodOptional; }, z.core.$strip>>; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; formPayload: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"shared-secret">; placement: z.ZodEnum<{ basic: "basic"; bearer: "bearer"; body: "body"; header: "header"; }>; fieldName: z.ZodOptional; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"url-secret">; placement: z.ZodEnum<{ path: "path"; query: "query"; }>; paramName: z.ZodString; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"asymmetric">; algorithm: z.ZodEnum<{ "ecdsa-p256": "ecdsa-p256"; ed25519: "ed25519"; "rsa-sha256": "rsa-sha256"; }>; encoding: z.ZodEnum<{ base64: "base64"; hex: "hex"; }>; signatureHeader: z.ZodString; signature: z.ZodOptional; fieldSeparator: z.ZodOptional; field: z.ZodOptional; trim: z.ZodOptional; }, z.core.$strip>>; timestamp: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>; unit: z.ZodOptional>; format: z.ZodOptional>; toleranceSeconds: z.ZodOptional; }, z.core.$strip>>; signingString: z.ZodUnion, z.ZodObject<{ template: z.ZodString; vars: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>>>; }, z.core.$strip>]>; publicKeyEncoding: z.ZodOptional>; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>]>; handshake: z.ZodOptional; respondStatus: z.ZodOptional, z.ZodLiteral<204>]>>; }, z.core.$strip>>; getHandshake: z.ZodOptional; matchValue: z.ZodOptional; tokenParam: z.ZodString; challengeParam: z.ZodString; }, z.core.$strip>>; response: z.ZodOptional, z.ZodLiteral<202>, z.ZodLiteral<204>]>>; acceptedBody: z.ZodOptional>; rejectedStatus: z.ZodOptional, z.ZodLiteral<401>, z.ZodLiteral<403>]>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"bundle">; bundleUrl: z.ZodString; hash: z.ZodString; }, z.core.$strip>]>; secretProvisioning: z.ZodOptional>; setupPrompt: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>; export type WebhookEndpointMetadata = z.infer; export declare const WebhookEndpointManifest: z.ZodObject<{ filePath: z.ZodString; exportName: z.ZodOptional; entryPoint: z.ZodString; id: z.ZodString; description: z.ZodOptional; source: z.ZodString; verifierArtifact: import("../utils/zod.js").CompatibleZodDiscriminatedUnion; config: import("../utils/zod.js").CompatibleZodDiscriminatedUnion; algorithm: z.ZodEnum<{ sha1: "sha1"; sha256: "sha256"; }>; encoding: z.ZodEnum<{ base64: "base64"; hex: "hex"; }>; signatureHeader: z.ZodString; additionalSignatureHeaders: z.ZodOptional>; signature: z.ZodOptional; fieldSeparator: z.ZodOptional; field: z.ZodOptional; trim: z.ZodOptional; }, z.core.$strip>>; timestamp: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>; unit: z.ZodOptional>; format: z.ZodOptional>; toleranceSeconds: z.ZodOptional; }, z.core.$strip>>; signingString: z.ZodUnion, z.ZodObject<{ template: z.ZodString; vars: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>>>; }, z.core.$strip>]>; secret: z.ZodOptional>; stripPrefix: z.ZodOptional; }, z.core.$strip>>; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; formPayload: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"shared-secret">; placement: z.ZodEnum<{ basic: "basic"; bearer: "bearer"; body: "body"; header: "header"; }>; fieldName: z.ZodOptional; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"url-secret">; placement: z.ZodEnum<{ path: "path"; query: "query"; }>; paramName: z.ZodString; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"asymmetric">; algorithm: z.ZodEnum<{ "ecdsa-p256": "ecdsa-p256"; ed25519: "ed25519"; "rsa-sha256": "rsa-sha256"; }>; encoding: z.ZodEnum<{ base64: "base64"; hex: "hex"; }>; signatureHeader: z.ZodString; signature: z.ZodOptional; fieldSeparator: z.ZodOptional; field: z.ZodOptional; trim: z.ZodOptional; }, z.core.$strip>>; timestamp: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>; unit: z.ZodOptional>; format: z.ZodOptional>; toleranceSeconds: z.ZodOptional; }, z.core.$strip>>; signingString: z.ZodUnion, z.ZodObject<{ template: z.ZodString; vars: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>>>; }, z.core.$strip>]>; publicKeyEncoding: z.ZodOptional>; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>]>; handshake: z.ZodOptional; respondStatus: z.ZodOptional, z.ZodLiteral<204>]>>; }, z.core.$strip>>; getHandshake: z.ZodOptional; matchValue: z.ZodOptional; tokenParam: z.ZodString; challengeParam: z.ZodString; }, z.core.$strip>>; response: z.ZodOptional, z.ZodLiteral<202>, z.ZodLiteral<204>]>>; acceptedBody: z.ZodOptional>; rejectedStatus: z.ZodOptional, z.ZodLiteral<401>, z.ZodLiteral<403>]>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"preset">; preset: z.ZodString; config: import("../utils/zod.js").CompatibleZodDiscriminatedUnion; algorithm: z.ZodEnum<{ sha1: "sha1"; sha256: "sha256"; }>; encoding: z.ZodEnum<{ base64: "base64"; hex: "hex"; }>; signatureHeader: z.ZodString; additionalSignatureHeaders: z.ZodOptional>; signature: z.ZodOptional; fieldSeparator: z.ZodOptional; field: z.ZodOptional; trim: z.ZodOptional; }, z.core.$strip>>; timestamp: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>; unit: z.ZodOptional>; format: z.ZodOptional>; toleranceSeconds: z.ZodOptional; }, z.core.$strip>>; signingString: z.ZodUnion, z.ZodObject<{ template: z.ZodString; vars: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>>>; }, z.core.$strip>]>; secret: z.ZodOptional>; stripPrefix: z.ZodOptional; }, z.core.$strip>>; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; formPayload: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"shared-secret">; placement: z.ZodEnum<{ basic: "basic"; bearer: "bearer"; body: "body"; header: "header"; }>; fieldName: z.ZodOptional; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"url-secret">; placement: z.ZodEnum<{ path: "path"; query: "query"; }>; paramName: z.ZodString; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ scheme: z.ZodLiteral<"asymmetric">; algorithm: z.ZodEnum<{ "ecdsa-p256": "ecdsa-p256"; ed25519: "ed25519"; "rsa-sha256": "rsa-sha256"; }>; encoding: z.ZodEnum<{ base64: "base64"; hex: "hex"; }>; signatureHeader: z.ZodString; signature: z.ZodOptional; fieldSeparator: z.ZodOptional; field: z.ZodOptional; trim: z.ZodOptional; }, z.core.$strip>>; timestamp: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>; unit: z.ZodOptional>; format: z.ZodOptional>; toleranceSeconds: z.ZodOptional; }, z.core.$strip>>; signingString: z.ZodUnion, z.ZodObject<{ template: z.ZodString; vars: z.ZodOptional; name: z.ZodString; fallback: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"signatureField">; field: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"body">; path: z.ZodString; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"url">; }, z.core.$strip>, z.ZodObject<{ from: z.ZodLiteral<"constant">; value: z.ZodString; }, z.core.$strip>]>>>; }, z.core.$strip>]>; publicKeyEncoding: z.ZodOptional>; idempotencyField: z.ZodOptional; name: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>]>; handshake: z.ZodOptional; respondStatus: z.ZodOptional, z.ZodLiteral<204>]>>; }, z.core.$strip>>; getHandshake: z.ZodOptional; matchValue: z.ZodOptional; tokenParam: z.ZodString; challengeParam: z.ZodString; }, z.core.$strip>>; response: z.ZodOptional, z.ZodLiteral<202>, z.ZodLiteral<204>]>>; acceptedBody: z.ZodOptional>; rejectedStatus: z.ZodOptional, z.ZodLiteral<401>, z.ZodLiteral<403>]>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"bundle">; bundleUrl: z.ZodString; hash: z.ZodString; }, z.core.$strip>]>; secretProvisioning: z.ZodOptional>; setupPrompt: z.ZodOptional; metadata: z.ZodOptional>; }, z.core.$strip>; export type WebhookEndpointManifest = z.infer; /** A subscriber (`webhook()`, `chat.event`, channel connector) of the endpoint named by `endpointId`. */ export declare const WebhookSubscriberManifest: z.ZodObject<{ endpointId: z.ZodString; target: import("../utils/zod.js").CompatibleZodDiscriminatedUnion; id: z.ZodString; taskId: z.ZodString; filter: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"session">; id: z.ZodString; taskIdentifier: z.ZodString; keyTemplate: z.ZodString; deliverAs: z.ZodEnum<{ action: "action"; message: "message"; }>; actionType: z.ZodOptional; connectorId: z.ZodOptional; triggerConfigTemplate: z.ZodOptional>; startOn: z.ZodOptional; filter: z.ZodOptional; }, z.core.$strip>]>; }, z.core.$strip>; export type WebhookSubscriberManifest = z.infer; export declare const PostStartCauses: z.ZodEnum<{ create: "create"; index: "index"; restore: "restore"; }>; export type PostStartCauses = z.infer; export declare const PreStopCauses: z.ZodEnum<{ terminate: "terminate"; }>; export type PreStopCauses = z.infer; export declare const Config: z.ZodObject<{ project: z.ZodString; triggerDirectories: z.ZodOptional>; triggerUrl: z.ZodOptional; projectDir: z.ZodOptional; tsconfigPath: z.ZodOptional; retries: z.ZodOptional; default: z.ZodOptional; factor: z.ZodOptional; minTimeoutInMs: z.ZodOptional; maxTimeoutInMs: z.ZodOptional; randomize: z.ZodOptional; outOfMemory: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; additionalPackages: z.ZodOptional>; additionalFiles: z.ZodOptional>; dependenciesToBundle: z.ZodOptional]>>>; logLevel: z.ZodOptional; enableConsoleLogging: z.ZodOptional; postInstall: z.ZodOptional; extraCACerts: z.ZodOptional; }, z.core.$strip>; export type Config = z.infer; export type ResolvedConfig = RequireKeys; export declare const WaitReason: z.ZodEnum<{ WAIT_FOR_BATCH: "WAIT_FOR_BATCH"; WAIT_FOR_DURATION: "WAIT_FOR_DURATION"; WAIT_FOR_TASK: "WAIT_FOR_TASK"; }>; export type WaitReason = z.infer; export declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{ runId: z.ZodString; attemptCount: z.ZodOptional; messageId: z.ZodString; isTest: z.ZodBoolean; isReplay: z.ZodDefault; traceContext: z.ZodRecord; environment: z.ZodOptional>; metrics: z.ZodOptional>>; }, z.core.$strip>; export type TaskRunExecutionLazyAttemptPayload = z.infer; export declare const ManualCheckpointMetadata: z.ZodObject<{ attemptId: z.ZodString; previousRunStatus: z.ZodString; previousAttemptStatus: z.ZodString; }, z.core.$strip>; export type ManualCheckpointMetadata = z.infer; export declare const RunChainState: z.ZodObject<{ concurrency: z.ZodOptional>; environment: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type RunChainState = z.infer; export declare const TriggerTraceContext: z.ZodObject<{ traceparent: z.ZodOptional; tracestate: z.ZodOptional; external: z.ZodOptional; tracestate: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type TriggerTraceContext = z.infer;