import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; /** * Initial state (PENDING_UPLOAD if params require upload, PENDING if inline) */ export declare const InitialState: { readonly PendingUpload: "PENDING_UPLOAD"; readonly Pending: "PENDING"; readonly Dispatched: "DISPATCHED"; readonly Succeeded: "SUCCEEDED"; readonly Failed: "FAILED"; readonly Expired: "EXPIRED"; }; /** * Initial state (PENDING_UPLOAD if params require upload, PENDING if inline) */ export type InitialState = ClosedEnum; export type CreateCommandRequest = { /** * Target deployment ID */ deploymentId: string; /** * Command name (e.g., 'analyze-repository') */ name: string; /** * Command parameters for public invocation */ params?: any | null | undefined; /** * Resource id the command is addressed to. Required when the deployment has more than one command-capable resource. */ target?: string | undefined; /** * Initial state (PENDING_UPLOAD if params require upload, PENDING if inline) */ initialState?: InitialState | undefined; /** * Optional deadline for command execution */ deadline?: Date | null | undefined; /** * Size of command params in bytes */ requestSizeBytes?: number | undefined; /** * Opaque operation result contract forwarded by a manager and persisted before dispatch */ operationResultContract?: any | null | undefined; }; /** @internal */ export declare const InitialState$outboundSchema: z.ZodEnum; /** @internal */ export type CreateCommandRequest$Outbound = { deploymentId: string; name: string; params?: any | null | undefined; target?: string | undefined; initialState?: string | undefined; deadline?: string | null | undefined; requestSizeBytes?: number | undefined; operationResultContract?: any | null | undefined; }; /** @internal */ export declare const CreateCommandRequest$outboundSchema: z.ZodType; export declare function createCommandRequestToJSON(createCommandRequest: CreateCommandRequest): string; //# sourceMappingURL=createcommandrequest.d.ts.map