import type { CompileContext } from "../context/compile.js"; /** * We want to be able to use generated types as generics within `Entity` for example, so we make * everything consistently a `type` instead of an `interface`. * * This should be safe as: * - `json-schema-to-typescript` generates each individual component as its own type so it doesn't create any * `extends` clauses, it uses `type` when combining them, e.g. `Person = Person1 & Person2` * - we aren't using `json-schema-to-typescript`'s formatting features, so we don't need to worry about replacing * commas with semi-colons, etc. We'll call a formatter at the end of processing */ export declare const replaceInterfaceWithType: (context: CompileContext) => void;