import { SqError } from './types';
/**
 * A generic error to handle internal error conditions unrelated to the state
 * of the application that is integrating the Web Payments SDK.
 * @example
 * ```
 * try {
 *   await ach.tokenize();
 * }
 * catch (e) {
 *   if (e instanceof UnexpectedError) {
 *     alert(`The SDK had an unknown error ${e.message}`);
 *   }
 * }
 * ```
 */
export declare class UnexpectedError extends SqError {
    constructor(actionText: string);
}
