import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { RuntimeResourceUsage, RuntimeResourceUsage$Outbound } from "./runtimeresourceusage.js"; export type CommandResult = { sessionId: string; command: string; args?: Array | undefined; cwd: string; stdout?: string | undefined; stderr?: string | undefined; exitCode: number; filesChanged?: Array | undefined; resourceUsage?: RuntimeResourceUsage | null | undefined; }; /** @internal */ export declare const CommandResult$inboundSchema: z.ZodType; /** @internal */ export type CommandResult$Outbound = { session_id: string; command: string; args?: Array | undefined; cwd: string; stdout: string; stderr: string; exit_code: number; files_changed?: Array | undefined; resource_usage?: RuntimeResourceUsage$Outbound | null | undefined; }; /** @internal */ export declare const CommandResult$outboundSchema: z.ZodType; export declare function commandResultToJSON(commandResult: CommandResult): string; export declare function commandResultFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=commandresult.d.ts.map