import { type Inferno } from 'inferno'; import { type ILinkProps } from './Link'; import type { Location } from 'history'; export interface NavLinkProps extends Omit { to: string | Location; exact?: boolean; strict?: boolean; location?: any; activeClassName?: string; className?: string | ((isActive: boolean) => string); activeStyle?: any; style?: object | ((isActive: boolean) => string); isActive?: (match: any, location: any) => boolean; ariaCurrent?: string; } /** * A wrapper that knows if it's "active" or not. */ export declare function NavLink({ to, exact, strict, onClick, location: linkLocation, activeClassName, className: classNameProp, activeStyle, style: styleProp, isActive: getIsActive, ariaCurrent, ...rest }: NavLinkProps & Omit, 'className' | 'style'>): any;