9 lines
311 B
TypeScript
9 lines
311 B
TypeScript
|
import { parse as babelParse } from "@babel/parser";
|
||
|
import { Overrides } from "./_babel_options";
|
||
|
declare type BabelParser = {
|
||
|
parse: typeof babelParse;
|
||
|
};
|
||
|
export declare const parser: BabelParser;
|
||
|
export declare function parse(source: string, options?: Overrides): import("@babel/types").File;
|
||
|
export {};
|