cmux/node_modules/@vercel/static-config/dist/swc.d.ts
2026-01-29 17:36:26 -08:00

7 lines
468 B
TypeScript

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