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