import { UrlString } from '../types/urlString'; import { ResolvedRoute } from '../types/resolved'; import { EmitsOptions, InjectionKey, SlotsType, VNode } from 'vue'; import { Router } from '../types/router'; import { RouterLinkProps, ToCallback } from '../types/routerLink'; type RouterLinkSlots = { default?: (props: { route: ResolvedRoute | undefined; isMatch: boolean; isExactMatch: boolean; isActive: boolean; isExactActive: boolean; isExternal: boolean; }) => VNode[]; }; export declare function createRouterLink(routerKey: InjectionKey): import('vue').DefineSetupFnComponent, EmitsOptions, SlotsType, import('../main').RouterPushOptions & { to: UrlString | Readonly<{ id: string; matched: import('../main').CreatedRouteOptions; matches: import('../main').CreatedRouteOptions[]; name: string; params: { [x: string]: unknown; }; state: import('../types/state').ExtractRouteStateParamsAsOptional>; href: UrlString; query: URLSearchParams; hash: string; title: Promise; }> | ToCallback; prefetch?: import('../main').PrefetchConfig; target?: string; } & ({ [x: `on${Capitalize}`]: ((...args: any[]) => any) | undefined; } | { [x: `on${Capitalize}`]: ((...args: never) => any) | undefined; }), import('vue').PublicProps>; export {};