declare type Constructor = Function; declare type MiddlewareAliasRegistry = { [key: string]: Constructor; }; export declare function getMiddlewareAliasRegistry(): MiddlewareAliasRegistry; export declare function exposeCommandMiddleware(key: string): (target: Function) => void; export declare function appendCommandMiddleware(key: string): (target: Function) => void; export declare function findNextCommands(constructor: Constructor): Constructor[]; export {};