import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { TraitEntry, TraitEntry$Outbound } from "./traitentry.js"; /** * Combination of Item attribute key with list of values */ export type Trait = { /** * Combination of Item attribute key/value with it's count */ key: TraitEntry; values: Array; }; /** @internal */ export declare const Trait$inboundSchema: z.ZodType; /** @internal */ export type Trait$Outbound = { key: TraitEntry$Outbound; values: Array; }; /** @internal */ export declare const Trait$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 Trait$ { /** @deprecated use `Trait$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Trait$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Trait$Outbound` instead. */ type Outbound = Trait$Outbound; } export declare function traitToJSON(trait: Trait): string; export declare function traitFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=trait.d.ts.map