import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ItemsSearchFilter, ItemsSearchFilter$Outbound } from "./itemssearchfilter.js"; import { ItemsSearchSort } from "./itemssearchsort.js"; import { TraitSort, TraitSort$Outbound } from "./traitsort.js"; /** * Complex search request for items */ export type ItemsSearchRequest = { /** * Number of entities returned */ size?: number | undefined; /** * Continuation token to paginate items search result */ continuation?: string | undefined; /** * Filter for items search query */ filter: ItemsSearchFilter; /** * Used when the search sort is set as TRAIT */ traitSort?: TraitSort | undefined; sort?: ItemsSearchSort | undefined; }; /** @internal */ export declare const ItemsSearchRequest$inboundSchema: z.ZodType; /** @internal */ export type ItemsSearchRequest$Outbound = { size: number; continuation?: string | undefined; filter: ItemsSearchFilter$Outbound; traitSort?: TraitSort$Outbound | undefined; sort?: string | undefined; }; /** @internal */ export declare const ItemsSearchRequest$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 ItemsSearchRequest$ { /** @deprecated use `ItemsSearchRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ItemsSearchRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ItemsSearchRequest$Outbound` instead. */ type Outbound = ItemsSearchRequest$Outbound; } export declare function itemsSearchRequestToJSON(itemsSearchRequest: ItemsSearchRequest): string; export declare function itemsSearchRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=itemssearchrequest.d.ts.map