/** * Compose `middleware` returning a fully valid middleware comprised of all * those which are passed. */ export declare function compose(middleware: Function[]): (context: any, next: Function) => any; export declare function isPromise(promise: any): promise is Promise;