import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ComputerAction, ComputerAction$Outbound } from "./computeraction.js"; import { PendingSafetyCheck, PendingSafetyCheck$Outbound } from "./pendingsafetycheck.js"; import { Status } from "./status.js"; /** * Computer call item: A computer-use tool-call step with the selected UI action and safety-check state. */ export type ComputerToolCallWithId = { type: "computer_call"; /** * The unique ID of the message. */ id: string; callId: string; action: ComputerAction; pendingSafetyChecks: Array; /** * The processing status of an individual item. 'in_progress' means currently processing, 'completed' means finished successfully, 'incomplete' means processing stopped before completion. */ status: Status; /** * The ID of the response that created this item, if any. */ responseId?: string | null | undefined; /** * Metadata from the response that created this item, if any. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const ComputerToolCallWithId$inboundSchema: z.ZodType; /** @internal */ export type ComputerToolCallWithId$Outbound = { type: "computer_call"; id: string; call_id: string; action: ComputerAction$Outbound; pending_safety_checks: Array; status: string; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const ComputerToolCallWithId$outboundSchema: z.ZodType; export declare function computerToolCallWithIdToJSON(computerToolCallWithId: ComputerToolCallWithId): string; export declare function computerToolCallWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=computertoolcallwithid.d.ts.map