import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetDocumentChunksRequest = { /** * The id of the document. */ documentId: string; /** * The inclusive starting index of the chunk range to list. If omitted and `end_index` is present effectively limits results to at most one chunk matching `end_index`. If both `start_index` and `end_index` are omitted, results are not limited by index. */ startIndex?: number | null | undefined; /** * The inclusive ending index of the chunk range to list. If omitted and `start_index` is present effectively limits results to at most one chunk matching `start_index`. If both `start_index` and `end_index` are omitted, results are not limited by index. */ endIndex?: number | null | undefined; /** * An opaque cursor for pagination */ cursor?: string | null | undefined; /** * The number of items per page (must be greater than 0 and less than or equal to 100) */ pageSize?: number | undefined; /** * An optional partition to scope the request to. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition, while older accounts will have the request scoped to all partitions. Older accounts may opt in to strict partition scoping by contacting support@ragie.ai. Older accounts using the partitions feature are strongly recommended to scope the request to a partition. */ partition?: string | null | undefined; }; /** @internal */ export declare const GetDocumentChunksRequest$inboundSchema: z.ZodType; /** @internal */ export type GetDocumentChunksRequest$Outbound = { document_id: string; start_index?: number | null | undefined; end_index?: number | null | undefined; cursor?: string | null | undefined; page_size: number; partition?: string | null | undefined; }; /** @internal */ export declare const GetDocumentChunksRequest$outboundSchema: z.ZodType; export declare function getDocumentChunksRequestToJSON(getDocumentChunksRequest: GetDocumentChunksRequest): string; export declare function getDocumentChunksRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getdocumentchunks.d.ts.map