import type { UmbWorkspaceRouteManager } from '../controllers/workspace-route-manager.controller.js'; import type { UmbEntityUnique } from '../../entity/index.js'; /** * Determines whether a pending navigation leaves the workspace that owns the given routes. * @param {UmbWorkspaceRouteManager} routeManager The route manager of the workspace. * @param {UmbEntityUnique | undefined} unique The unique of the entity currently being edited. * @param {string | URL} newUrl The url the navigation is heading towards. * @returns {boolean} true if the navigation leaves the workspace. */ export declare function umbWorkspaceWillNavigateAway(routeManager: UmbWorkspaceRouteManager, unique: UmbEntityUnique | undefined, newUrl: string | URL): boolean;