export declare function errorReport(error: { toString: () => string; stack: string; }, module: Function, code: string, file: string): void;