import type { ServerFunctionRouting } from '../client-core-utils/server-function-routing.js'; import type { RouteProps } from '../isomorphic-utils/route-path.js'; import type { ChangeRoute } from './router-context.js'; type Elements = Readonly>; type NavigationError = { error: unknown; }; type Navigation = { route: RouteProps; changeRoute: ChangeRoute; getElements: () => Elements; isCurrentRoute: (source: Elements) => boolean; error: NavigationError | undefined; }; export declare function useNavigation(elements: Elements, fallbackRoute: RouteProps, routeInterceptor: ((route: RouteProps) => RouteProps | false) | undefined, serverFunctionRouting: ServerFunctionRouting): Navigation; export {};