import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SearchResultLink, SearchResultLink$Outbound } from "./searchresultlink.js"; export type RagieEvidence = { type?: "ragie" | undefined; text: string; /** * The chunk id of the evidence. */ id: string; /** * The index of the chunk in the document. */ index: number; /** * The document id of the document containing the chunk being used as evidence. */ documentId: string; /** * The name of the document that contains the chunk being used as evidence. */ documentName: string; /** * The metadata of the chunk being used as evidence. */ metadata?: { [k: string]: any; } | undefined; /** * The metadata of the document that contains the evidence. */ documentMetadata?: { [k: string]: any; } | undefined; /** * The links to the evidence. */ links?: { [k: string]: SearchResultLink; } | undefined; }; /** @internal */ export declare const RagieEvidence$inboundSchema: z.ZodType; /** @internal */ export type RagieEvidence$Outbound = { type: "ragie"; text: string; id: string; index: number; document_id: string; document_name: string; metadata?: { [k: string]: any; } | undefined; document_metadata?: { [k: string]: any; } | undefined; links?: { [k: string]: SearchResultLink$Outbound; } | undefined; }; /** @internal */ export declare const RagieEvidence$outboundSchema: z.ZodType; export declare function ragieEvidenceToJSON(ragieEvidence: RagieEvidence): string; export declare function ragieEvidenceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=ragieevidence.d.ts.map