import { CSSProperties, PropsWithChildren } from 'react'; import { PageTransition } from './transition'; interface LinkProps { to: string; replace?: boolean; prefetch?: boolean; className?: string; style?: CSSProperties; transition?: string | PageTransition; } export declare function Link({ to, replace, prefetch, className, style, transition, children }: PropsWithChildren): JSX.Element; interface NavLinkProps extends LinkProps { activeClassName?: string; activeStyle?: CSSProperties; } export declare function NavLink({ activeClassName, activeStyle, to, ...rest }: PropsWithChildren): JSX.Element; export {};