import type { TrackingMethods } from '..'; declare type NormalizedReturns = { [Key in keyof TrackingMethods]: unknown; }; export declare type MiddlewareFunction = (data: InType) => OutType | Promise; export declare type Middleware = { [Key in keyof TrackingMethods]: MiddlewareFunction[Key]>[0], OutputType[Key]>; }; export {};