import { IDisposable, Stream, Base, Type } from "./type";
export declare class BinaryReader extends Base implements IDisposable {
    private _data;
    private d;
    private n;
    readonly canRead: boolean;
    readonly currentPosition: number;
    readonly length: number;
    private e;
    private f;
    constructor(a: number, b: string, c: boolean);
    constructor(a: number, b: Stream);
    constructor(a: number, ..._rest: any[]);
    private i(offset_);
    private a(offset_, a);
    private b(offset_, length_);
    readByte(): number;
    readBytes(a: number): number[];
    readUInt32(): number;
    readUInt16(): number;
    readInt32(): number;
    readDouble(): number;
    readSingle(): number;
    private _stream;
    protected get_baseStream(): Stream;
    readonly baseStream: Stream;
    readBoolean(): boolean;
    readInt16(): number;
    readSByte(): number;
    close(): void;
    dispose(): void;
    static $t: Type;
}
