8 lines
482 B
TypeScript
8 lines
482 B
TypeScript
import { I as ParseResult, L as ParserOptions } from "./shared/binding-BLUhc7Nl.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 }; |