import type { Module } from '@swc/core'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; export type Value = undefined | null | boolean | string | number | any[] | Record; export declare class UnsupportedValueError extends Error { } export declare function extractExportedConstValue(module: Module, exportedName: string): Value | null; export declare function getConfig(module: Module, schema?: T): FromSchema | null;