import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetDocumentRequest = { /** * The unique ID of the document to retrieve */ docId: string; /** * The name of the index containing the document */ indexName: string; /** * The maximum number of chunks to return in the response */ limit?: number | undefined; /** * A cursor to fetch the next set of chunks if the document is paginated */ cursor?: string | undefined; }; /** @internal */ export declare const GetDocumentRequest$inboundSchema: z.ZodType; /** @internal */ export type GetDocumentRequest$Outbound = { doc_id: string; index_name: string; limit?: number | undefined; cursor?: string | undefined; }; /** @internal */ export declare const GetDocumentRequest$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 GetDocumentRequest$ { /** @deprecated use `GetDocumentRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetDocumentRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetDocumentRequest$Outbound` instead. */ type Outbound = GetDocumentRequest$Outbound; } export declare function getDocumentRequestToJSON(getDocumentRequest: GetDocumentRequest): string; export declare function getDocumentRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getdocument.d.ts.map