import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { SortOrder } from "./sortorder.js"; import { SortType } from "./sorttype.js"; /** * Used when the search sort is set as TRAIT */ export type TraitSort = { /** * Trait key */ key: string; order?: SortOrder | undefined; type?: SortType | undefined; }; /** @internal */ export declare const TraitSort$inboundSchema: z.ZodType; /** @internal */ export type TraitSort$Outbound = { key: string; order: string; type: string; }; /** @internal */ export declare const TraitSort$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 TraitSort$ { /** @deprecated use `TraitSort$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TraitSort$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TraitSort$Outbound` instead. */ type Outbound = TraitSort$Outbound; } export declare function traitSortToJSON(traitSort: TraitSort): string; export declare function traitSortFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=traitsort.d.ts.map