import { LoggingInterface } from './logger/provider.logger'; export declare const ErrorCode: { INSUFFICIENT_FUNDS: string; SIGN_TRANSACTION_ERROR: string; SEND_TRANSACTION_ERROR: string; CUSTOM_HANDLE_TRANSACTION_ERROR: string; POWO_ERROR: string; }; export declare class ChainError extends Error { readonly errorCode?: string | undefined; constructor(message: string, errorCode?: string | undefined, logger?: LoggingInterface); } export declare class AlreadyRefreshedError extends Error { constructor(message: string); } export declare class AbortedError extends Error { constructor(); } export declare const throwIfAborted: (controller: AbortController) => (result: T) => Promise;