export declare function controller(dir?: string, debug?: boolean): any;