import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SortDirection } from "./sortdirection.js"; /** * The field on which to sort the Collections */ export declare const CollectionsSortBy: { readonly Name: "name"; readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }; /** * The field on which to sort the Collections */ export type CollectionsSortBy = ClosedEnum; export type CollectionsSort = { /** * The field on which to sort the Collections */ by?: CollectionsSortBy | undefined; /** * The direction in which to sort the results */ direction?: SortDirection | undefined; }; /** @internal */ export declare const CollectionsSortBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CollectionsSortBy$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CollectionsSortBy$ { /** @deprecated use `CollectionsSortBy$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Name: "name"; readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }>; /** @deprecated use `CollectionsSortBy$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Name: "name"; readonly CreatedAt: "created_at"; readonly UpdatedAt: "updated_at"; }>; } /** @internal */ export declare const CollectionsSort$inboundSchema: z.ZodType; /** @internal */ export type CollectionsSort$Outbound = { by?: string | undefined; direction: string; }; /** @internal */ export declare const CollectionsSort$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 CollectionsSort$ { /** @deprecated use `CollectionsSort$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CollectionsSort$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CollectionsSort$Outbound` instead. */ type Outbound = CollectionsSort$Outbound; } export declare function collectionsSortToJSON(collectionsSort: CollectionsSort): string; export declare function collectionsSortFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=collectionssort.d.ts.map