/// <reference types="node" />
import internal, { Transform } from "stream";
export default class SizeChunker extends Transform {
    protected bytesPassed: number;
    protected currentChunk: number;
    protected lastEmittedChunk: any;
    protected chunkSize: any;
    protected flushTail: any;
    constructor(options: internal.TransformOptions & {
        chunkSize: number;
        flushTail: boolean;
    });
    protected finishChunk(done: any): void;
    protected startChunk(done: any): void;
    protected pushData(buf: any): void;
    protected startIfNeededAndPushData(buf: any): void;
    _transform(chunk: any, _encoding: BufferEncoding, done: internal.TransformCallback): void;
}
