/**
 * Removes the social OAuth redirect parameters that `signInWithSocialRedirect`
 * 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 `completeSocialRedirect` so a page refresh
 * doesn't re-trigger the redirect 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
 * await completeSocialRedirect({ url: new URL(window.location.href) });
 * clearSocialRedirectParams();
 * ```
 *
 * @see {@link completeSocialRedirect} to finish the redirect sign-in before
 * clearing the parameters.
 * @see {@link detectSocialRedirectUrl} to check whether the current URL is a
 * social OAuth callback.
 *
 * @notInstrumented
 */
export declare const clearSocialRedirectParams: () => void;
//# sourceMappingURL=clearSocialRedirectParams.d.ts.map