import { BaseError } from './base';
/**
 * Thrown when completing device registration would replace the current session
 * with a different user's identity.
 *
 * The device registration token resolved to a user other than the one currently
 * authenticated, which can indicate a login-CSRF / session-fixation attempt, so
 * the returned session is rejected and the current session is left untouched.
 *
 * @example
 * ```ts
 * try {
 *   await completeDeviceRegistration({ token });
 * } catch (error) {
 *   if (error instanceof DeviceRegistrationIdentityMismatchError) {
 *     // The current session was preserved; ask the user to retry on this device.
 *   }
 * }
 * ```
 * @see completeDeviceRegistration
 * @see InvalidDeviceRegistrationRedirectError
 */
export declare class DeviceRegistrationIdentityMismatchError extends BaseError {
    constructor();
}
//# sourceMappingURL=DeviceRegistrationIdentityMismatchError.d.ts.map