import { default as React } from 'react'; import { IconStringList } from '../Icons/Icon.models'; export type AccountPopoverProps = { /** The name of the user */ name: string; /** The array of options to be displayed in the popover */ options: { icon: IconStringList; label: string; callout: () => void; hide?: boolean; keepOpen?: boolean; }[]; /** Function to close the mobile drawer. This is kept as optional because it is not needed in LeftNavDesktop. */ closeMobileDrawer?: () => void; /** Function to close the Sidebar expanded state. This is kept as optional because it is not needed in LeftNavMobile. */ closeSidebar?: (force?: boolean) => void; /** Function to open the Sidebar expanded state. */ openSidebar?: () => void; /** There are 2 variations: collapsed and expanded. This prop determines when to show each. */ expanded: boolean; /** Shows whether LeftNavMobile is being rendered with this component */ mobile?: boolean; /** Optional prop to make username or email read only */ disabled?: boolean; }; declare const AccountPopover: ({ name, options, closeMobileDrawer, expanded, closeSidebar, openSidebar, mobile, disabled, }: AccountPopoverProps) => React.JSX.Element; export default AccountPopover;