8 lines
No EOL
482 B
TypeScript
8 lines
No EOL
482 B
TypeScript
import { B as ParserOptions, z as ParseResult } from "./shared/binding-MAEzB4KA.mjs";
|
|
import { Program } from "@oxc-project/types";
|
|
|
|
//#region src/parse-ast-index.d.ts
|
|
declare function parseAst(sourceText: string, options?: ParserOptions | null, filename?: string): Program;
|
|
declare function parseAstAsync(sourceText: string, options?: ParserOptions | null, filename?: string): Promise<Program>;
|
|
//#endregion
|
|
export { type ParseResult, type ParserOptions, parseAst, parseAstAsync }; |