import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { CatalogTypeAttributePathItemV2, CatalogTypeAttributePathItemV2$Outbound } from "./catalogtypeattributepathitemv2.js"; /** * Controls how this attribute is modified */ export declare const CatalogTypeAttributeV2Mode: { readonly Unknown: ""; readonly Manual: "manual"; readonly External: "external"; readonly Internal: "internal"; readonly Dynamic: "dynamic"; readonly Backlink: "backlink"; readonly Path: "path"; }; /** * Controls how this attribute is modified */ export type CatalogTypeAttributeV2Mode = ClosedEnum; export type CatalogTypeAttributeV2 = { /** * Whether this attribute is an array */ array: boolean; /** * The attribute to use (if this is a backlink) */ backlinkAttribute?: string | undefined; /** * The ID of this attribute */ id: string; /** * Controls how this attribute is modified */ mode: CatalogTypeAttributeV2Mode; /** * Unique name of this attribute */ name: string; /** * The path to use (if this is a path attribute) */ path?: Array | undefined; /** * Catalog type name for this attribute */ type: string; }; /** @internal */ export declare const CatalogTypeAttributeV2Mode$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CatalogTypeAttributeV2Mode$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 CatalogTypeAttributeV2Mode$ { /** @deprecated use `CatalogTypeAttributeV2Mode$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Unknown: ""; readonly Manual: "manual"; readonly External: "external"; readonly Internal: "internal"; readonly Dynamic: "dynamic"; readonly Backlink: "backlink"; readonly Path: "path"; }>; /** @deprecated use `CatalogTypeAttributeV2Mode$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Unknown: ""; readonly Manual: "manual"; readonly External: "external"; readonly Internal: "internal"; readonly Dynamic: "dynamic"; readonly Backlink: "backlink"; readonly Path: "path"; }>; } /** @internal */ export declare const CatalogTypeAttributeV2$inboundSchema: z.ZodType; /** @internal */ export type CatalogTypeAttributeV2$Outbound = { array: boolean; backlink_attribute?: string | undefined; id: string; mode: string; name: string; path?: Array | undefined; type: string; }; /** @internal */ export declare const CatalogTypeAttributeV2$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 CatalogTypeAttributeV2$ { /** @deprecated use `CatalogTypeAttributeV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CatalogTypeAttributeV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CatalogTypeAttributeV2$Outbound` instead. */ type Outbound = CatalogTypeAttributeV2$Outbound; } //# sourceMappingURL=catalogtypeattributev2.d.ts.map