import type { InferSchema } from '../schema-types.js'; export declare const DEFAULT_PAGE_LIMIT = 50; export declare const MAX_PAGE_LIMIT = 200; export declare const paginationQuerySchema: { readonly type: "object"; readonly additionalProperties: false; readonly properties: { readonly limit: { readonly type: "integer"; readonly minimum: 1; readonly maximum: 200; readonly default: 50; }; readonly cursor: { readonly type: "string"; readonly minLength: 1; }; }; }; export type PaginationQuery = InferSchema; type JsonSchema = Readonly>; export declare const mergePaginationQuerySchema: (extra: Extra) => typeof paginationQuerySchema & Extra; export declare const createPaginatedResponseSchema: (itemSchema: ItemSchema) => { readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["data", "next_cursor"]; readonly properties: { readonly data: { readonly type: "array"; readonly items: ItemSchema; }; readonly next_cursor: { readonly type: "string"; readonly nullable: true; }; }; }; export type PaginatedResponse = { data: Item[]; next_cursor: string | null; }; export {}; //# sourceMappingURL=pagination.d.ts.map