import { JSONSchema4 } from 'json-schema'; /** * Many schemas define a type as an array of types to indicate union types. * To avoid having the type generator be aware of that, we transform those types * into their corresponding typescript definitions. * * -------------------------------------------------- * * The null union can be in one of these three fields: type, anyOf or oneOf */ export declare function reduceNullFromUnions(def: JSONSchema4): JSONSchema4;