import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Annotation for citing a specific file in the model's output. Used when the model references information from a file. */ export type FileCitation = { /** * The annotation type identifier for file citations. */ type: "file_citation"; /** * The ID of the file being cited. */ fileId: string; /** * The name of the file being cited. */ filename: string; /** * The character index in the output text where this citation applies. */ index: number; }; /** @internal */ export declare const FileCitation$inboundSchema: z.ZodType; /** @internal */ export type FileCitation$Outbound = { type: "file_citation"; file_id: string; filename: string; index: number; }; /** @internal */ export declare const FileCitation$outboundSchema: z.ZodType; export declare function fileCitationToJSON(fileCitation: FileCitation): string; export declare function fileCitationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filecitation.d.ts.map