import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { ShellCallOutputContent, ShellCallOutputContent$Outbound } from "./shellcalloutputcontent.js"; import { ToolCallStatus } from "./toolcallstatus.js"; export declare const ShellCallOutputItemTypeContainerFileCitation: { readonly ContainerFileCitation: "container_file_citation"; }; export type ShellCallOutputItemTypeContainerFileCitation = ClosedEnum; export type ShellCallOutputItemFile = { containerId: string; endIndex: number; fileId: string; filename: string; startIndex: number; type: ShellCallOutputItemTypeContainerFileCitation; }; export declare const ShellCallOutputItemTypeShellCallOutput: { readonly ShellCallOutput: "shell_call_output"; }; export type ShellCallOutputItemTypeShellCallOutput = ClosedEnum; /** * Output from a shell command execution (newer variant) */ export type ShellCallOutputItem = { callId: string; /** * The canonical container id the command ran under — the `{container_id}` for the Container Files API, reusable as a `container_reference` in later requests. Present on every sandbox-executed call, even when no files changed. */ containerId?: string | undefined; /** * The error message when the sandbox call failed before producing a result, as echoed from a failed `shell_call_output` emission. */ error?: string | undefined; /** * Citations for the files the sandbox command created or modified, most-recently-touched first (at most 10). Retrieve them via the Container Files API. */ files?: Array | undefined; id?: string | null | undefined; maxOutputLength?: number | null | undefined; output: Array; status?: ToolCallStatus | null | undefined; type: ShellCallOutputItemTypeShellCallOutput; }; /** @internal */ export declare const ShellCallOutputItemTypeContainerFileCitation$outboundSchema: z.ZodEnum; /** @internal */ export type ShellCallOutputItemFile$Outbound = { container_id: string; end_index: number; file_id: string; filename: string; start_index: number; type: string; }; /** @internal */ export declare const ShellCallOutputItemFile$outboundSchema: z.ZodType; export declare function shellCallOutputItemFileToJSON(shellCallOutputItemFile: ShellCallOutputItemFile): string; /** @internal */ export declare const ShellCallOutputItemTypeShellCallOutput$outboundSchema: z.ZodEnum; /** @internal */ export type ShellCallOutputItem$Outbound = { call_id: string; container_id?: string | undefined; error?: string | undefined; files?: Array | undefined; id?: string | null | undefined; max_output_length?: number | null | undefined; output: Array; status?: string | null | undefined; type: string; }; /** @internal */ export declare const ShellCallOutputItem$outboundSchema: z.ZodType; export declare function shellCallOutputItemToJSON(shellCallOutputItem: ShellCallOutputItem): string; //# sourceMappingURL=shellcalloutputitem.d.ts.map