import type { Program } from 'estree'; import { Chapter } from '../../langs'; import type { Context } from '../../types'; import type { AcornOptions, Parser } from '../types'; export declare class PythonParser implements Parser { private chapter; constructor(chapter: Chapter); parse(programStr: string, context: Context, options?: Partial, throwOnError?: boolean): Program | null; validate(_ast: Program, _context: Context, _throwOnError: boolean): boolean; toString(): string; }