import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type RetrieveSimilarDocumentsRequest = { /** * The unique ID of the source document to find similar documents for */ docId: string; /** * The name of the index containing the documents */ indexName: string; /** * Maximum number of similar documents to return */ limit?: number | undefined; /** * Optional metadata filter to apply to candidate documents */ metadataFilter?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const RetrieveSimilarDocumentsRequest$inboundSchema: z.ZodType; /** @internal */ export type RetrieveSimilarDocumentsRequest$Outbound = { doc_id: string; index_name: string; limit: number; metadata_filter?: { [k: string]: any; } | undefined; }; /** @internal */ export declare const RetrieveSimilarDocumentsRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace RetrieveSimilarDocumentsRequest$ { /** @deprecated use `RetrieveSimilarDocumentsRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `RetrieveSimilarDocumentsRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `RetrieveSimilarDocumentsRequest$Outbound` instead. */ type Outbound = RetrieveSimilarDocumentsRequest$Outbound; } export declare function retrieveSimilarDocumentsRequestToJSON(retrieveSimilarDocumentsRequest: RetrieveSimilarDocumentsRequest): string; export declare function retrieveSimilarDocumentsRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=retrievesimilardocumentsrequest.d.ts.map