import { BodyDecoder, BodyEncoder } from '@iotize/tap/client/api';
export declare class MultipleMaskConverter<OutputType> implements BodyEncoder<OutputType[]>, BodyDecoder<OutputType[]> {
    protected _mapping: {
        [key: number]: OutputType;
    };
    constructor(mapping: any);
    decode(body: Uint8Array): OutputType[];
    /**
     * TODO check that not use more than the first 7 bits
     * @param types
     */
    encode(types: OutputType[]): Uint8Array;
    static encodeAll<T>(values: T[], mapping: any): Uint8Array;
    static decodeAll<T>(value: Uint8Array | number, mapping: any): T[];
}
