import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const FunctionCallEventType: { readonly FunctionCallDelta: "function.call.delta"; }; export type FunctionCallEventType = ClosedEnum; export type FunctionCallEvent = { type?: FunctionCallEventType | undefined; createdAt?: Date | undefined; outputIndex?: number | undefined; id: string; name: string; toolCallId: string; arguments: string; }; /** @internal */ export declare const FunctionCallEventType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const FunctionCallEventType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace FunctionCallEventType$ { /** @deprecated use `FunctionCallEventType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly FunctionCallDelta: "function.call.delta"; }>; /** @deprecated use `FunctionCallEventType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly FunctionCallDelta: "function.call.delta"; }>; } /** @internal */ export declare const FunctionCallEvent$inboundSchema: z.ZodType; /** @internal */ export type FunctionCallEvent$Outbound = { type: string; created_at?: string | undefined; output_index: number; id: string; name: string; tool_call_id: string; arguments: string; }; /** @internal */ export declare const FunctionCallEvent$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace FunctionCallEvent$ { /** @deprecated use `FunctionCallEvent$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FunctionCallEvent$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FunctionCallEvent$Outbound` instead. */ type Outbound = FunctionCallEvent$Outbound; } export declare function functionCallEventToJSON(functionCallEvent: FunctionCallEvent): string; export declare function functionCallEventFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=functioncallevent.d.ts.map