import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Document, Document$Outbound } from "./document.js"; /** * List of documents that match a set of search parameters. */ export type ListDocumentsResponse = { /** * List of documents matching the request's search parameters */ document?: Array | undefined; /** * Only returned if there are more results than currently listed on the page; Use as page_token with subsequent requests */ nextPageToken?: string | undefined; }; /** @internal */ export declare const ListDocumentsResponse$inboundSchema: z.ZodType; /** @internal */ export type ListDocumentsResponse$Outbound = { document?: Array | undefined; next_page_token?: string | undefined; }; /** @internal */ export declare const ListDocumentsResponse$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 ListDocumentsResponse$ { /** @deprecated use `ListDocumentsResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ListDocumentsResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ListDocumentsResponse$Outbound` instead. */ type Outbound = ListDocumentsResponse$Outbound; } export declare function listDocumentsResponseToJSON(listDocumentsResponse: ListDocumentsResponse): string; export declare function listDocumentsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listdocumentsresponse.d.ts.map