import { Command } from "../../../client/api/request";
import { Response } from "../../../client/api/response/response.interface";
export declare type RouteTypeObject = {
    codeRet: number;
    body?: Uint8Array;
};
export declare type RouteType = number | RouteTypeObject | string | Uint8Array | Response<any>;
export interface ResponseAdapter<T> {
    adapt(request: Command): Response<T>;
}
export declare type ResponseAdapterFunction<DataType> = (request: Command) => Response<DataType>;
export declare type FilterFunction<DataType> = (input: DataType) => boolean;
export interface Predicate<DataType> {
    test(input: DataType): boolean;
}
