interface IError { message: string; } declare class ErrorHandler { static execute(process: () => Promise): Promise<[Type | IError, number]>; } export { IError }; export default ErrorHandler;