import { JSONSchema4 } from 'json-schema'; /** * Custom property name for storing enum value descriptions. * Follows JSON Schema conventions for extension properties (x- prefix). */ export declare const ENUM_VALUE_DESCRIPTIONS_KEY = "x-json2jsii-enumValueDescriptions"; /** * Type for the enum value descriptions mapping. */ export type EnumValueDescriptions = Record; /** * Reduces multiple occurrences of the same type in oneOf/anyOf into a single type. * Only reduces primitive types and $refs with matching references. * For enums, combines all enum values into a single enum and preserves descriptions. */ export declare function reduceDuplicateTypesInUnion(def: JSONSchema4): JSONSchema4;