import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Sort direction. */ export declare const Dir: { readonly Asc: "asc"; readonly Desc: "desc"; }; /** * Sort direction. */ export type Dir = ClosedEnum; /** * Cursor-based pagination metadata for list responses. */ export type SeekPagination = { /** * The field being sorted on. */ orderBy?: string | undefined; /** * Sort direction. */ dir?: Dir | undefined; /** * Page size limit. */ limit?: number | undefined; /** * Cursor for the next page of results. Null if no more results. */ next?: string | null | undefined; /** * Cursor for the previous page of results. Null if on first page. */ prev?: string | null | undefined; }; /** @internal */ export declare const Dir$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Dir$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const SeekPagination$inboundSchema: z.ZodType; /** @internal */ export type SeekPagination$Outbound = { order_by?: string | undefined; dir?: string | undefined; limit?: number | undefined; next?: string | null | undefined; prev?: string | null | undefined; }; /** @internal */ export declare const SeekPagination$outboundSchema: z.ZodType; export declare function seekPaginationToJSON(seekPagination: SeekPagination): string; export declare function seekPaginationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=seekpagination.d.ts.map