import { _PdfContentStream, _PdfRecord, PdfPage, Point } from '@syncfusion/ej2-pdf';
import { _TextProcessingMode } from '../enum';
import { PdfRedactor } from './pdf-redactor';
export declare class _PdfShapeParser {
    private _currentLocation;
    private _pathAccumulator;
    private _clearPathAccumulator;
    _findRedactPath(recordCollection: _PdfRecord[], i: number, page: PdfPage, redaction: PdfRedactor, mode: _TextProcessingMode, stream: _PdfContentStream): number;
    private _flattenIfNeeded;
    private _clipAgainstRedactions;
    private _adjustRedactionBounds;
    private _shouldSkipRendering;
    private _buildRenderingRecords;
    private _getGeometry;
    private _isValidRectangle;
    _processRectangle(recordCollection: _PdfRecord[], i: number, element: string[]): _PdfRecord[];
    private _generateRectanglePath;
    private _rectToPathCommands;
    private _extractPoints;
    private _isIntersecting;
    private _convertPointsToPath;
    private _flattenBezierCurve;
    private _flattenPdfPathCommands;
    private _pointsArraysEqual;
    private _removeDuplicatePoints;
    private _removeRedactionPoints;
    private _buildRecords;
}
export declare type _PdfPathCommand = {
    operator: string;
    points: Point[];
};
