import React from 'react'; import NavItem from './NavItem'; import NavLink from './NavLink'; import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers'; import { EventKey } from './types'; export interface NavProps extends BsPrefixPropsWithChildren { navbarBsPrefix?: string; cardHeaderBsPrefix?: string; variant?: 'tabs' | 'pills'; activeKey?: EventKey; defaultActiveKey?: EventKey; fill?: boolean; justify?: boolean; onSelect?: SelectCallback; role?: string; navbar?: boolean; navbarScroll?: boolean; onKeyDown?: React.KeyboardEventHandler; } declare type Nav = BsPrefixRefForwardingComponent<'div', NavProps> & { Item: typeof NavItem; Link: typeof NavLink; }; declare const Nav: Nav; export default Nav;