import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Cursors to navigate to previous or next pages through the API */ export type Cursors = { /** * Cursor to navigate to the previous page of results through the API */ previous?: string | null | undefined; /** * Cursor to navigate to the current page of results through the API */ current?: string | null | undefined; /** * Cursor to navigate to the next page of results through the API */ next?: string | null | undefined; }; /** * Response metadata */ export type Meta = { /** * Number of items returned in the data property of the response */ itemsOnPage?: number | undefined; /** * Cursors to navigate to previous or next pages through the API */ cursors?: Cursors | undefined; }; /** @internal */ export declare const Cursors$inboundSchema: z.ZodType; /** @internal */ export type Cursors$Outbound = { previous?: string | null | undefined; current?: string | null | undefined; next?: string | null | undefined; }; /** @internal */ export declare const Cursors$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 Cursors$ { /** @deprecated use `Cursors$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Cursors$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Cursors$Outbound` instead. */ type Outbound = Cursors$Outbound; } export declare function cursorsToJSON(cursors: Cursors): string; export declare function cursorsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Meta$inboundSchema: z.ZodType; /** @internal */ export type Meta$Outbound = { items_on_page?: number | undefined; cursors?: Cursors$Outbound | undefined; }; /** @internal */ export declare const Meta$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 Meta$ { /** @deprecated use `Meta$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Meta$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Meta$Outbound` instead. */ type Outbound = Meta$Outbound; } export declare function metaToJSON(meta: Meta): string; export declare function metaFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=meta.d.ts.map