import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Annotation = { type: string; text: string; start: number; end: number; }; export type ResponseOutputTextAnnotationAddedEvent = { type: "response.output_text.annotation.added"; sequenceNumber: number; itemId: string; outputIndex: number; contentIndex: number; annotationIndex: number; annotation: Annotation; }; /** @internal */ export declare const Annotation$inboundSchema: z.ZodType; /** @internal */ export type Annotation$Outbound = { type: string; text: string; start: number; end: number; }; /** @internal */ export declare const Annotation$outboundSchema: z.ZodType; export declare function annotationToJSON(annotation: Annotation): string; export declare function annotationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResponseOutputTextAnnotationAddedEvent$inboundSchema: z.ZodType; /** @internal */ export type ResponseOutputTextAnnotationAddedEvent$Outbound = { type: "response.output_text.annotation.added"; sequence_number: number; item_id: string; output_index: number; content_index: number; annotation_index: number; annotation: Annotation$Outbound; }; /** @internal */ export declare const ResponseOutputTextAnnotationAddedEvent$outboundSchema: z.ZodType; export declare function responseOutputTextAnnotationAddedEventToJSON(responseOutputTextAnnotationAddedEvent: ResponseOutputTextAnnotationAddedEvent): string; export declare function responseOutputTextAnnotationAddedEventFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=responseoutputtextannotationaddedevent.d.ts.map