export declare const UMB_STORAGE_REDIRECT_URL = "umb:auth:redirect"; /** * Retrieve the stored path from the session storage. * @remark This is used to redirect the user to the correct page after login. */ export declare function retrieveStoredPath(): URL | null; /** * Store the path in the session storage. * @param path * @remark This is used to redirect the user to the correct page after login. * @remark The path must be a local path, otherwise it is not stored. */ export declare function setStoredPath(path: string): void; /** * Redirect the user to the stored path or the base path if not available. * If the basePath matches the start of the stored path, the browser will replace the state instead of redirecting. * @param {string} basePath - The base path to redirect to if no stored path is available. * @param {boolean} force - If true, will redirect using Location */ export declare function redirectToStoredPath(basePath: string, force?: boolean): void;