import png = require("./index");
import ChunkStream = require("./chunk-stream");
export = Parser;
declare class Parser extends ChunkStream {
    private _option;
    private _hasIHDR;
    private _hasIEND;
    private _inflate;
    private _filter;
    private _crc;
    private _palette;
    private _colorType;
    private _chunks;
    private _data;
    constructor(option: png.IImageOptions);
    private _handleError;
    private _handleSignature;
    private _parseSignature;
    private _parseChunkBegin;
    private _skipChunk;
    private _handleChunkEnd;
    private _parseChunkEnd;
    private _handleIHDR;
    private _parseIHDR;
    private _handlePLTE;
    private _parsePLTE;
    private _handleTRNS;
    private _parseTRNS;
    private _handleGAMA;
    private _parseGAMA;
    private _handleIDAT;
    private _parseIDAT;
    private _handleIEND;
    private _parseIEND;
    private _reverseFiltered;
}
