/** * Signing in leaves the browser on the route it bounced through, so the page the * reader came from is stashed before the redirect and claimed here. Anything on * the origin can write the store it comes out of, which makes the stashed value * a request rather than a destination. * * Returns whether a redirect is under way, so the caller can show that instead * of mounting an editor it is about to navigate away from. */ export declare function useReturnToRedirect(router: { push: (href: string) => void; }): boolean;