/**
 * Removes the device registration redirect parameters that the device
 * registration email link appends to the return URL from the browser's current
 * URL, leaving every other query parameter, the path, and the hash untouched.
 *
 * Call this once you have finished `completeDeviceRegistration` so a page
 * refresh doesn't re-trigger the registration flow. Unlike clearing the whole
 * query string, this preserves any of your own parameters on the callback URL.
 *
 * This reads and rewrites `window.location`, so it can only run in the
 * browser. Calling it during server-side rendering (no `window`) throws
 * `UnavailableInServerSideError`.
 *
 * @returns Nothing. The current URL is rewritten in place via
 * `window.history.replaceState`.
 *
 * @throws {UnavailableInServerSideError} When called without a `window`
 * (e.g. during server-side rendering).
 *
 * @example
 * ```ts
 * const deviceToken = getDeviceRegistrationTokenFromUrl({ url: window.location.href });
 * await completeDeviceRegistration({ deviceToken });
 * clearDeviceRegistrationRedirectParams();
 * ```
 *
 * @see {@link completeDeviceRegistration} to finish the registration before
 * clearing the parameters.
 * @see {@link detectDeviceRegistrationRedirect} to check whether the current
 * URL is a device registration callback.
 *
 * @notInstrumented
 */
export declare const clearDeviceRegistrationRedirectParams: () => void;
//# sourceMappingURL=clearDeviceRegistrationRedirectParams.d.ts.map