import { Decoder, Encoder } from '@iotize/common/converter/api';
import { Command } from '../request/definitions';
import { Response } from '../response/definitions';
export interface BodyEncoder<OutputType> extends Encoder<OutputType, Uint8Array> {
}
export interface BodyDecoder<OutputType> extends Decoder<Uint8Array, OutputType> {
}
export interface BodyConverter<OutputType> extends BodyDecoder<OutputType>, BodyEncoder<OutputType> {
}
export interface RequestDecoder extends Decoder<Uint8Array, Command> {
}
export interface RequestEncoder extends Encoder<Command, Uint8Array> {
}
export interface ResponseDecoder extends Decoder<Uint8Array, Response<any>> {
}
export interface ResponseEncoder extends Encoder<Response<any>, Uint8Array> {
}
