import { TokenProviderClAppSlug } from '../providers/TokenProvider/types'; interface UseAppLinkingHook { /** * Navigate to internal app path, to different app (outside router base), or to an external URL. * Current path is saved in session storage to allow going back to it (when using `goBack`). */ navigateTo: (param: { app: TokenProviderClAppSlug; resourceId?: string; }) => { href: string; onClick: (e: React.MouseEvent) => void; } | null; /** * Go back to the last visited location when `navigateTo` has been used. * If no saved item is found, it will navigate to the default relative */ goBack: (param: { currentResourceId?: string; defaultRelativePath: string; }) => void; } /** * Hook to navigate between apps from list and detail views. */ export declare function useAppLinking(): UseAppLinkingHook; export {};