/** * A tiny helper for using a class-based controller as if it's a function. * Main advantage of this is that it's a bit shorter to type. * * This utility can be used for converting non-controller classes to functions * too */ export declare const toFunction: (Class: new (...args: P) => T) => ((...args: P) => T);