/** * Mimics React Router's NavLink's path matching behavior: exact match if `to` ends with '/', else partial match * see: https://reactrouter.com/en/main/components/nav-link */ export declare const isNavLinkActive: (to: string, pathname: string) => boolean;