import { TapRequestFrame, TapResponseFrame } from '@iotize/tap/client/api'; export type RouteTypeObject = { codeRet: number; body?: Uint8Array; }; export type RouteType = number | RouteTypeObject | string | Uint8Array | TapResponseFrame; export type ResponseAdapterFunction = (request: TapRequestFrame) => TapResponseFrame; export type FilterFunction = (input: DataType) => boolean; export type Predicate = (input: DataType) => boolean;