import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Status } from "./status.js"; /** * Function call output item: The output payload returned from a function tool call. */ export type FunctionToolCallOutputWithId = { type: "function_call_output"; callId: string; output: string; /** * The unique ID of the message. */ id: string; /** * The processing status of an individual item. 'in_progress' means currently processing, 'completed' means finished successfully, 'incomplete' means processing stopped before completion. */ status?: Status | undefined; /** * 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 FunctionToolCallOutputWithId$inboundSchema: z.ZodType; /** @internal */ export type FunctionToolCallOutputWithId$Outbound = { type: "function_call_output"; call_id: string; output: string; id: string; status?: string | undefined; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const FunctionToolCallOutputWithId$outboundSchema: z.ZodType; export declare function functionToolCallOutputWithIdToJSON(functionToolCallOutputWithId: FunctionToolCallOutputWithId): string; export declare function functionToolCallOutputWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=functiontoolcalloutputwithid.d.ts.map