import React from 'react'; import type { ItemProps } from './components/Items/types'; import { Search } from './components/Search'; interface LogoProps { onClick?: (e: React.MouseEvent | KeyboardEvent) => void; type: 'mark' | 'wordmark'; url: string; } export interface TopNavProps { /** * @deprecated Any supplied children will be ignored */ children?: React.ReactNode; /** * List of items to render in the top right * @deprecated for `itemsRight` prop */ items?: ItemProps[]; /** * List of items to render in the top left, after the logo */ itemsLeft?: ItemProps[]; /** * List of items to render in the top right */ itemsRight?: ItemProps[]; /** * Node to render in the bottom on a new row */ bottomNode?: React.ReactNode; /** * If supplied, puts chosen logo in the top left */ logo: LogoProps; /** * If supplied, renders title string in center of nav */ title?: string; /** * Makes position static instead of fixed. * Only to be used for examples and demos in which fixed positioning is a nuisance. * @ignore */ notFixed?: boolean; } /** @deprecated `TopNav` should not be used in new development. */ export declare class TopNav extends React.Component { static Search: typeof Search; static defaultProps: { logo: { type: string; url: string; }; }; renderLogo: () => React.JSX.Element; render(): React.JSX.Element; } export {};