import { NavigateFunction } from 'react-router';
export declare function storeLastPlace(): void;
export declare const ONE_SAGE_REDIRECT_COOKIE_KEY = "org.sagebionetworks.cookies.redirect-after-login";
export declare const getCookieDomain: () => ".synapse.org" | ".dev.sagebase.org" | undefined;
export declare function storeRedirectURLForOneSageLoginAndGotoURL(href: string): void;
export declare function processRedirectURLInOneSage(): boolean;
/**
 * Returns to the route in localStorage saved when `storeLastPlace` was called,
 * typically before jumping from an app to OneSage for authentication, or before
 * jumping from OneSage to an external IdP (e.g. Google) for authentication.
 *
 * @return boolean indicating if a redirect occurred
 */
export declare function restoreLastPlace(navigate?: NavigateFunction, fallbackRedirectUrl?: string): boolean;
/**
 * Hook to detect if the current page is framed (i.e. in an iframe). If so, it will attempt to break out of the frame.
 * See SWC-6294
 * @returns true if the page is framed and not sandboxed
 */
export declare function useFramebuster(): boolean;
//# sourceMappingURL=AppUtils.d.ts.map