import { type Feature } from '../host-defined/engine.mts'; import { LanguageParser } from './LanguageParser.mts'; import type { ParseNode, ParseNodesByType } from './ParseNode.mts'; import { Scope } from './Scope.mts'; export interface ParserOptions { readonly source: string; readonly decoratingSource?: string; readonly specifier?: string; readonly json?: boolean; readonly allowAllPrivateNames?: boolean; } export declare class Parser extends LanguageParser { protected readonly source: string; protected readonly specifier?: string; readonly state: { hasTopLevelAwait: boolean; strict: boolean; json: boolean; allowAllPrivateNames: boolean; }; readonly scope: Scope; protected readonly decoratingSource?: string; constructor({ source, specifier, json, allowAllPrivateNames, decoratingSource }: ParserOptions); isStrictMode(): boolean; feature(name: Feature): boolean; startNode(inheritStart?: ParseNode.BaseParseNode): ParseNode.Unfinished; markNodeStart(node: ParseNode.Unfinished): void; finishNode(node: T, type: K): ParseNodesByType[K]; } //# sourceMappingURL=Parser.d.mts.map