import type { TransitionName } from '../router'; export type LinkCoreOptions = { to: string; transition?: TransitionName; replace?: boolean; params?: Record; query?: Record; hash?: string; partialMatch?: boolean; disablePrefetch?: boolean; replaceQuery?: boolean; }; export declare function useLinkCore({ to, transition, replace, params, query, hash, partialMatch, disablePrefetch, replaceQuery, }: LinkCoreOptions): { ref: import("react").RefObject; fullPath: string; isActive: boolean; go: () => Promise; }; export declare const LinkCore: import("react").ForwardRefExoticComponent & { fullPath: string; onNavigate: () => Promise | boolean; onPrefetch?: () => void; disablePrefetch?: boolean; } & import("react").RefAttributes>;