import { InjectionKey, Ref } from 'vue'; import { SharedLinkProps } from '../components/OnyxRouterLink/types.js'; /** * Internal behavior of the `OnyxRouterLink`. Should be used for navigation. Considers the user provided [router](https://onyx.schwarz/development/router.html). */ export declare const useLink: () => { navigate: (e: MouseEvent, href: string) => void; currentRoute: import('vue').ComputedRef<{ path: string; hash?: string; } | undefined>; isActive: import('vue').ComputedRef<(link?: string | SharedLinkProps) => boolean>; }; export type ProvideRouterOptions = { /** * Programmatically navigate to a new URL. * @see https://router.vuejs.org/api/interfaces/Router.html#push- */ push: (to: string) => void; /** * Currently active route. * @see https://router.vuejs.org/api/interfaces/Router.html#currentRoute */ currentRoute: Ref; }; export declare const ROUTER_INJECTION_KEY: InjectionKey;