import type { PreprocessContext } from "../context.js"; /** * Removes the `allOf` field from data types that have enum constraints. * * When a data type inherits from a parent type (via `allOf`) but also specifies * an `enum` constraint, the json-schema-to-typescript library generates an * intersection type like `TextDataType & ("Value1" | "Value2")`. * * Since the enum values already fully describe the valid value space (and are * implicitly compatible with the parent type), we can remove the `allOf` to * produce cleaner TypeScript like `"Value1" | "Value2"`. * * This transformation only affects TypeScript generation – the original * semantic inheritance relationship is preserved in the type system. */ export declare const removeRedundantDataTypeInheritance: (context: PreprocessContext) => void;