import type { Node } from '@babel/types'; import { GenericSchemaDef } from './util.ts'; type JsonValue = string | number | boolean | null | JsonValue[] | { [key: string]: JsonValue; }; /** * Converts a Babel AST node into a JavaScript object/value, * suitable for JSON serialization. * Throws errors for unsupported AST structures. * @param {Node | null} node - The Babel AST node to convert. * @returns {JsonValue | null} The JavaScript representation. * @throws {Error} If the AST node or its structure is not convertible to JSON. */ export declare function astToJson(node: Node | null): JsonValue | null; export declare function schemaTypescriptFileToInstantSchema(content: string, sourceFilename?: string): GenericSchemaDef; export {}; //# sourceMappingURL=typescript-schema.d.ts.map