6 lines
240 B
TypeScript
6 lines
240 B
TypeScript
import type { Program } from '@babel/types';
|
|
import { ParserPlugin } from '@babel/parser';
|
|
export declare function parseProgram(code: string, importer: string, { babelParserPlugins }: {
|
|
babelParserPlugins?: ParserPlugin[];
|
|
}): Program;
|