import { BodyDecoder, BodyEncoder } from '@iotize/tap/client/api'; /** * TODO improv it . We don't know the size of input buffer... */ export declare class UniqMaskConverter implements BodyEncoder, BodyDecoder { protected _mapping: { [key: number]: OutputType; }; constructor(mapping: any); decode(body: Uint8Array): OutputType; encode(value: OutputType): Uint8Array; static decodeOneExact(data: Uint8Array | number, mapping: { [key: number]: OutputType; }): OutputType; static decodeOne(data: Uint8Array | number, mapping: { [key: number]: OutputType; }): OutputType; static encodeOneAsNumber(data: OutputType, mapping: { [key: number]: OutputType; }): number; static encodeOneAsBuffer(data: OutputType, mapping: { [key: number]: OutputType; }): Uint8Array; static swapKeyValue(input: { [key: string]: any; }): { [key: string]: any; }; }