import * as React from 'react'; import { TabSelectHandler } from './ContextTypes'; export interface NavProps { className?: string; style?: React.CSSProperties; /** * Navigation style */ bsStyle?: 'nav-tabs' | 'nav-pills'; /** * Marks the NavItem with a matching `eventKey` as active. Has a * higher precedence over `activeHref`. */ activeKey?: string | number; /** * Marks the child NavItem with a matching `href` prop as active. */ activeHref?: string; /** * NavItems are be positioned vertically. */ stacked?: boolean; justified?: boolean; /** * A callback fired when a NavItem is selected. * */ onSelect?: TabSelectHandler; /** * ARIA role for the Nav, in the context of a TabContainer, the default will * be set to "tablist", but can be overridden by the Nav when set explicitly. * * When the role is set to "tablist" NavItem focus is managed according to * the ARIA authoring practices for tabs: * https://www.w3.org/TR/2013/WD-wai-aria-practices-20130307/#tabpanel */ role?: string; /** * Apply styling an alignment for use in a Navbar. This prop will be set * automatically when the Nav is used inside a Navbar. */ navbar?: boolean; /** * Float the Nav to the right. When `navbar` is `true` the appropriate * contextual classes are added as well. */ pullRight?: boolean; /** * Float the Nav to the left. When `navbar` is `true` the appropriate * contextual classes are added as well. */ pullLeft?: boolean; } export declare class Nav extends React.Component { static defaultProps: NavProps; private static contextTypes; private _needsRefocus; constructor(props: NavProps); componentDidUpdate(): void; handleTabKeyDown: (onSelect: TabSelectHandler, event: React.KeyboardEvent) => void; getNextActiveChild(offset: any): any; getActiveProps(): any; isActive: ({ props }: { props: any; }, activeKey: any, activeHref: any) => any; getTabProps(child: any, tabContainer: any, navRole: any, active: any, onSelect: TabSelectHandler): { id: any; role: any; onKeyDown: any; 'aria-controls': any; tabIndex: any; }; render(): JSX.Element; }