import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SearchResultSnippet, SearchResultSnippet$Outbound } from "./searchresultsnippet.js"; import { TextRange, TextRange$Outbound } from "./textrange.js"; /** * Each text range from the response can correspond to an array of snippets from the citation source. */ export type ReferenceRange = { /** * A subsection of a given string to which some special formatting should be applied. */ textRange?: TextRange | undefined; snippets?: Array | undefined; }; /** @internal */ export declare const ReferenceRange$inboundSchema: z.ZodType; /** @internal */ export type ReferenceRange$Outbound = { textRange?: TextRange$Outbound | undefined; snippets?: Array | undefined; }; /** @internal */ export declare const ReferenceRange$outboundSchema: z.ZodType; export declare function referenceRangeToJSON(referenceRange: ReferenceRange): string; export declare function referenceRangeFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=referencerange.d.ts.map