import type { Auth0Error } from 'auth0-js';
export declare class WidgetError extends Error {
    cause?: unknown;
    code?: string;
    error?: Error | Auth0Error['error'];
    errorDescription?: string;
    message: string;
    statusCode?: number;
    statusText?: string;
    constructor(options?: WidgetErrorOptions);
}
interface WidgetErrorOptions extends ErrorOptions, Omit<Auth0Error, 'error'> {
    error?: Error | Auth0Error['error'];
    message?: string;
}
export {};
//# sourceMappingURL=widgetError.d.ts.map