import { Program } from '@oxc-project/types';
import type { ParseResult, ParserOptions } from './binding';
export declare function parseAst(sourceText: string, options?: ParserOptions | undefined | null, filename?: string): Program;
export declare function parseAstAsync(sourceText: string, options?: ParserOptions | undefined | null, filename?: string): Promise<Program>;
export type { ParseResult, ParserOptions };
