export interface PromiseReflect { status: string; value?: any; error?: any; } export declare function reflect(promise: Promise): Promise; export declare function isClass(v: any): boolean; export declare function retrieveReflect(list: any[], field: string): PromiseReflect[]; export declare function errorHandler(app: any, err: any): Promise;