import { TransferError } from '../telemetry/types';
import { Chain } from '@wormhole-foundation/sdk';
export declare const INSUFFICIENT_ALLOWANCE_REGEX: RegExp;
export declare const USER_REJECTED_REGEX: RegExp;
export declare function interpretTransferError(e: any, chain: Chain): [string, TransferError];
//# sourceMappingURL=errors.d.ts.map