import { _PdfCrossReference, _PdfDictionary, PdfPage, Rectangle } from '@syncfusion/ej2-pdf';
import { _GraphicState, _TextState } from './graphic-state';
import { _FontStructure } from './text-extraction/font-structure';
import { TextGlyph, TextLine, TextWord } from './text-structure';
import { _MatrixHelper } from './text-extraction/matrix-helper';
import { _PdfContentParserHelper } from './content-parser-helper';
import { PdfRedactionRegion } from './redaction/pdf-redaction-region';
export declare class _PdfTextParser {
    _textGlyph: TextGlyph[];
    _textWord: TextWord[];
    _textLine: TextLine[];
    _extractedText: string;
    _width: number;
    _height: number;
    _index: number;
    _fontSize: number;
    _encodedText: string[];
    _previousRect: Rectangle;
    _boundingRectangle: Rectangle;
    _translateTextMatrix(x: number, y: number, textMatrix: _MatrixHelper): _MatrixHelper;
    _getCharacterWidth(width: number, currentFont: _FontStructure): number;
    _setNewLineWithLeading(textState: _TextState): void;
    _setTextMatrix(element: string[], textState: _TextState): void;
    _beginText(textState: _TextState, identityMatrix: number[]): void;
    _setFont(element: string[], textState: _TextState): void;
    _moveTextPlacementAndSetLeading(element: string[], textState: _TextState): void;
    _setTextRise(element: string[], textState: _TextState): void;
    _setCharSpacing(element: string[], textState: _TextState): void;
    _setWordSpacing(element: string[], textState: _TextState): void;
    _setTextHorizontalScale(element: string[], textState: _TextState): void;
    _updateTextLeading(element: string[], textState: _TextState): void;
    _moveTextPlacement(element: string[], textState: _TextState): void;
    _getCurrentTransform(font: _FontStructure, fontMatrix: number[], textState: _TextState): number[];
    _isFoundText(x: number, y: number, page: PdfPage, redactBounds: PdfRedactionRegion[]): boolean;
    _getRelativeLocation(x: number, y: number, page: PdfPage): number[];
    _transform(m1: number[], m2: number[]): number[];
    _getCropOrMediaBox(page: PdfPage): number[];
    _getSplitText(encodedText: string, font: _FontStructure, inputText: string[], isForRedaction?: boolean): {
        decodedList: string[];
        inputType?: string[];
    };
    _getPageRotation(textState: _TextState): number;
    _splitHexString(hexString: string): string[];
    _getFallBackFontDictionary(crossReference: _PdfCrossReference): _PdfDictionary;
    _processCommand(token: string, element: string[], state: _GraphicState): void;
    _getTextFont(fontCollection: Map<string, _FontStructure>, textState: _TextState, crossReference: _PdfCrossReference): _FontStructure;
    _getTextContentItem(currentFont: _FontStructure, text: string, extraSpacing: number, textState: _TextState, page: PdfPage, tempString: string, previousRect: {
        x: number;
        y: number;
        width: number;
        height: number;
    }, extractedText: string, parser?: _PdfContentParserHelper, textGlyphs?: TextGlyph[], hex?: string[], index?: number, encodedText?: string[]): any;
}
