import type { AST, Linter } from 'eslint'; import type { ParserOptions } from './types.js'; export declare const DEFAULT_EXTENSIONS: readonly string[]; export declare const MARKDOWN_EXTENSIONS: readonly string[]; export declare class Parser { constructor(); parse(code: string, options: ParserOptions): AST.Program; parseForESLint(code: string, { filePath, sourceType, ecmaVersion, ignoreRemarkConfig, remarkConfigPath, extensions, markdownExtensions, }: ParserOptions): Linter.ESLintParseResult; } export declare const parser: Parser; export declare const parse: (code: string, options: ParserOptions) => AST.Program, parseForESLint: (code: string, { filePath, sourceType, ecmaVersion, ignoreRemarkConfig, remarkConfigPath, extensions, markdownExtensions, }: ParserOptions) => Linter.ESLintParseResult;