import React from 'react'; declare type AnyTag = keyof JSX.IntrinsicElements | React.ComponentType; declare type PropsOf = Tag extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[Tag] : Tag extends React.ComponentType ? Props & JSX.IntrinsicAttributes : any; declare function NavItem({ as: Component, active, children, className, ...props }: React.PropsWithChildren<{ as?: T; active?: boolean; }> & PropsOf): JSX.Element; export default NavItem;