export declare function handleErrorsAsync(err: any, { command }: { command?: string; }): Promise;