import { type ESTree } from "meriyah";
export type SourceParserSyntaxError = SyntaxError & {
    start: number;
    end: number;
    range: [number, number];
    description: string;
    loc: ESTree.SourceLocation;
};
export interface SourceParser {
    parse(source: string, options: unknown): ESTree.Statement[];
}
export interface JsSourceParserOptions {
    isEcmaScriptModule?: boolean;
}
export declare class JsSourceParser implements SourceParser {
    parse(source: string, options?: JsSourceParserOptions): ESTree.Program["body"];
}
//# sourceMappingURL=JsSourceParser.d.ts.map