import { BodyConverter } from '@iotize/tap/client/api';
export interface ArrayConverterOptions {
    /**
     * Size of one item in byte
     */
    sizeOfItem: number;
}
export declare class ArrayConverter<ItemType> implements BodyConverter<ItemType[]> {
    protected _itemConverter: BodyConverter<ItemType>;
    protected options: ArrayConverterOptions;
    constructor(_itemConverter: BodyConverter<ItemType>, options: ArrayConverterOptions);
    get itemConverter(): BodyConverter<ItemType>;
    decode(bytes: Uint8Array): ItemType[];
    encode(items: ItemType[]): Uint8Array;
}
