/**
 * URL param helpers for client-side "return from redirect" flows.
 *
 * Used for flows like magic-link login or Stripe checkout return URLs where
 * we want to:
 * - read a query param once
 * - remove it from the URL (so refresh doesn't re-trigger)
 * - preserve hash fragments
 */
/**
 * Consume a query param from the current URL's search string.
 *
 * Returns the param value (if present) and removes it from the URL via
 * history.replaceState, preserving hash.
 */
export declare function consumeSearchParam(paramName: string): string | null;
/**
 * Consume multiple query params from the current URL's search string.
 *
 * Returns a record of consumed values (missing params are null) and removes
 * all provided params from the URL in a single replaceState call.
 */
export declare function consumeSearchParams<const TNames extends readonly string[]>(paramNames: TNames): {
    [K in TNames[number]]: string | null;
};
