import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const DebugEventEvent: { readonly AdapterRequest: "adapter_request"; readonly UpstreamHeadersReceived: "upstream_headers_received"; readonly FirstTokenReceived: "first_token_received"; readonly UpstreamBodyEnded: "upstream_body_ended"; }; export type DebugEventEvent = OpenEnum; export type DebugEventTimings = { epochMs: number; event: DebugEventEvent; startMs: number; }; export type DebugEventDebug = { echoUpstreamBody?: { [k: string]: any; } | undefined; timings?: DebugEventTimings | undefined; }; /** * Debug event emitted when debug.echo_upstream_body is true. Contains the transformed upstream request body or timing milestones. */ export type DebugEvent = { debug: DebugEventDebug; sequenceNumber: number; type: "response.debug"; }; /** @internal */ export declare const DebugEventEvent$inboundSchema: z.ZodType; /** @internal */ export declare const DebugEventTimings$inboundSchema: z.ZodType; export declare function debugEventTimingsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DebugEventDebug$inboundSchema: z.ZodType; export declare function debugEventDebugFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DebugEvent$inboundSchema: z.ZodType; export declare function debugEventFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=debugevent.d.ts.map