import { default as BinaryStream } from '@jsprismarine/jsbinaryutils';
import { ByteOrder } from './ByteOrder';
import { default as NBTTagCompound } from './NBTTagCompound';
export default class NBTWriter {
    private readonly order;
    private readonly buf;
    private useVarint;
    constructor(out: BinaryStream, byteOrder: ByteOrder);
    setUseVarint(useVarint: boolean): void;
    writeList(list: Set<any>): void;
    writeCompound(compound: NBTTagCompound): void;
    private writeTagHeader;
    private writeStringValue;
    writeByteValue(value: number): void;
    writeShortValue(value: number): void;
    private writeIntegerValue;
    private writeLongValue;
    private writeFloatValue;
    private writeDoubleValue;
    private writeByteArrayValue;
    private writeIntegerArrayValue;
    private writeListValue;
    private writeCompoundValue;
    private getNBTTypeFromValue;
}
//# sourceMappingURL=NBTWriter.d.ts.map