/*******************************************************************************
 * Copyright (c) 2023 - 2024 Maxprograms.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse   License 1.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/org/documents/epl-v10.html
 *
 * Contributors:
 *     Maxprograms - initial API and implementation
 *******************************************************************************/
import { ContentHandler } from "./ContentHandler";
import { FileReader } from "./FileReader";
export declare class SAXParser {
    contentHandler: ContentHandler;
    reader: FileReader;
    pointer: number;
    buffer: string;
    elementStack: number;
    characterRun: string;
    rootParsed: boolean;
    xmlVersion: string;
    static readonly MIN_BUFFER_SIZE: number;
    static path: any;
    constructor();
    setContentHandler(contentHandler: ContentHandler): void;
    parseFile(path: string, encoding?: BufferEncoding): void;
    parseString(data: string): void;
    readDocument(): void;
    parseEntityReference(): void;
    startElement(): void;
    endElement(): void;
    cleanCharacterRun(): void;
    parseComment(): void;
    parseProcessingInstruction(): void;
    parseDoctype(): void;
    parsePublicDeclaration(): string[];
    parseSystemDeclaration(): string;
    parseXMLDeclaration(): void;
    lookingAt(text: string): boolean;
    parseAttributes(text: string): Map<string, string>;
    startCDATA(): void;
    endCDATA(): void;
}
