/** * Render a JSON Schema as a simplified, human-readable TypeScript type. * * This is a *display* conversion, not a faithful TS codegen: it surfaces the * shape (objects, arrays, unions, enums, records) and property descriptions so * a model — or a human reading `/dump` — can grasp a tool's parameters at a * glance, far more legibly than raw JSON Schema. Refinement keywords * (min/max/pattern/format) are intentionally dropped; only type structure, * literal enums/consts, and descriptions survive. */ export interface JsonSchemaToTsOptions { /** Indentation unit for nested object bodies. Default two spaces. */ readonly indent?: string; /** Emit `description` keywords as JSDoc comments on object properties. Default true. */ readonly comments?: boolean; } /** Convert a JSON Schema object into a simplified TypeScript type string. */ export declare function jsonSchemaToTypeScript(schema: unknown, options?: JsonSchemaToTsOptions): string;