import { OidcErrorType, PiralOidcError } from './types';
/**
 * A custom error class for oidc errors. It is important to use this class
 * instead of generic Errors, as some application paths inspect `OidcError['type']`.
 *
 * An optional innerError can be supplied in order to not lose visibility on messages provided
 * by oidc-client.
 */
export declare class OidcError extends Error implements PiralOidcError {
    readonly type: any;
    readonly innerError: any;
    constructor(errorType: OidcErrorType, innerError?: Error | string);
}
