import { ApiRequest } from '@iotize/device-client.js/client/impl';
import { ResponseInterface } from '@iotize/device-client.js/client/api';
export declare type RouteTypeObject = {
    codeRet: number;
    body?: Uint8Array;
};
export declare type RouteType = number | RouteTypeObject | string | Uint8Array | ResponseInterface<any>;
export interface ResponseAdapter<T> {
    adapt(request: ApiRequest): ResponseInterface<T>;
}
export declare type ResponseAdapterFunction<DataType> = (request: ApiRequest) => ResponseInterface<DataType>;
export declare type FilterFunction<DataType> = (input: DataType) => boolean;
export interface Predicate<DataType> {
    test(input: DataType): boolean;
}
