import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ChatFile, ChatFile$Outbound } from "./chatfile.js"; import { CustomEntity, CustomEntity$Outbound } from "./customentity.js"; import { Document, Document$Outbound } from "./document.js"; import { Person, Person$Outbound } from "./person.js"; import { ReferenceRange, ReferenceRange$Outbound } from "./referencerange.js"; /** * Information about the source for a ChatMessage. */ export type ChatMessageCitation = { /** * An opaque token that represents this particular result in this particular ChatMessage. To be used for /feedback reporting. */ trackingToken?: string | undefined; sourceDocument?: Document | undefined; /** * Structure for file uploaded by a user for Chat. */ sourceFile?: ChatFile | undefined; sourcePerson?: Person | undefined; sourceCustomEntity?: CustomEntity | undefined; /** * Each reference range and its corresponding snippets */ referenceRanges?: Array | undefined; }; /** @internal */ export declare const ChatMessageCitation$inboundSchema: z.ZodType; /** @internal */ export type ChatMessageCitation$Outbound = { trackingToken?: string | undefined; sourceDocument?: Document$Outbound | undefined; sourceFile?: ChatFile$Outbound | undefined; sourcePerson?: Person$Outbound | undefined; sourceCustomEntity?: CustomEntity$Outbound | undefined; referenceRanges?: Array | undefined; }; /** @internal */ export declare const ChatMessageCitation$outboundSchema: z.ZodType; export declare function chatMessageCitationToJSON(chatMessageCitation: ChatMessageCitation): string; export declare function chatMessageCitationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=chatmessagecitation.d.ts.map