import React from 'react'; import { IconName } from '../Icon/Icon'; import { AdditionalLoginLinkShape } from './Login'; declare type UserMenuProps = { /** User's name */ username: string; /** User's Login History Key*/ userloginHistoryKey?: string; /** User's Login History */ userloginHistory?: string; /** User's Login History Link*/ userloginHistoryLink?: string; userMenuLinks?: UserMenuLink[]; logoutButton: { /** Logout button label */ logoutButtonLabel: string; /** Logout button onClick callback */ onLogoutButtonClick: () => void; }; /** Additional links on the bottom of the menu */ additionalLinks?: AdditionalLoginLinkShape[]; /** Additional links alignment */ additionalLinkAlignLeft?: boolean | undefined; }; export declare type UserMenuLink = { /** Name of the service user is logged into */ label: string; /** Name of the icon */ icon?: IconName; /** Link to service user is logged in */ link: string; /** Unique key */ key?: string; /** Open in new window */ openInNewWindow?: boolean; }; declare const UserMenu: React.FunctionComponent; export default UserMenu;