import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type FileSearchResult = { /** * The unique ID of the document. */ fileId: string; /** * The name of the document. */ filename: string; /** * The relevance score of the chunk - a value between 0 and 1. */ score: number; /** * The text content of the chunk. */ text: string; /** * The attributes of the chunk. */ attributes: { [k: string]: any; }; }; /** @internal */ export declare const FileSearchResult$inboundSchema: z.ZodType; /** @internal */ export type FileSearchResult$Outbound = { file_id: string; filename: string; score: number; text: string; attributes: { [k: string]: any; }; }; /** @internal */ export declare const FileSearchResult$outboundSchema: z.ZodType; export declare function fileSearchResultToJSON(fileSearchResult: FileSearchResult): string; export declare function fileSearchResultFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filesearchresult.d.ts.map