import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Annotation for citing a web URL in the model's output. Used when the model references information from web sources. */ export type URLCitation = { /** * The annotation type identifier for URL citations. */ type: "url_citation"; /** * The character index where the cited text ends in the output. */ endIndex: number; /** * The character index where the cited text begins in the output. */ startIndex: number; /** * The title of the web page or resource being cited. */ title: string; /** * The URL of the web resource being cited. */ url: string; }; /** @internal */ export declare const URLCitation$inboundSchema: z.ZodType; /** @internal */ export type URLCitation$Outbound = { type: "url_citation"; end_index: number; start_index: number; title: string; url: string; }; /** @internal */ export declare const URLCitation$outboundSchema: z.ZodType; export declare function urlCitationToJSON(urlCitation: URLCitation): string; export declare function urlCitationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=urlcitation.d.ts.map