import { DefaultError } from './type'; export declare function formatError(error: DefaultError): string; export declare function wrapError(error: DefaultError): Error;