import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { CommandTrigger } from "./commandtrigger.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type Command = { sendUpdatesToClient?: boolean | undefined; updateScheduledTask?: boolean | undefined; completionMessage?: string | null | undefined; requiresDiskAccess?: boolean | undefined; isExclusive?: boolean | undefined; isTypeExclusive?: boolean | undefined; name?: string | null | undefined; lastExecutionTime?: Date | null | undefined; lastStartTime?: Date | null | undefined; trigger?: CommandTrigger | undefined; suppressMessages?: boolean | undefined; clientUserAgent?: string | null | undefined; }; /** @internal */ export declare const Command$inboundSchema: z.ZodType; /** @internal */ export type Command$Outbound = { sendUpdatesToClient?: boolean | undefined; updateScheduledTask?: boolean | undefined; completionMessage?: string | null | undefined; requiresDiskAccess?: boolean | undefined; isExclusive?: boolean | undefined; isTypeExclusive?: boolean | undefined; name?: string | null | undefined; lastExecutionTime?: string | null | undefined; lastStartTime?: string | null | undefined; trigger?: string | undefined; suppressMessages?: boolean | undefined; clientUserAgent?: string | null | undefined; }; /** @internal */ export declare const Command$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Command$ { /** @deprecated use `Command$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Command$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Command$Outbound` instead. */ type Outbound = Command$Outbound; } export declare function commandToJSON(command: Command): string; export declare function commandFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=command.d.ts.map