import { AvatarProps } from '../avatar';
import { BoxProps } from '../box';
import { PopoverContentProps, PopoverProps, PopoverTriggerProps } from '../popover';
import { RightJoinProps } from '../utils';
import { HeaderLinkData } from './header.types';
/** Defines account link sections and user information. */
export type HeaderAccountData = {
    sections?: HeaderAccountSectionData[];
    userInfo?: HeaderAccountUserInfoData;
};
export type HeaderAccountProps = PopoverProps & {
    /** Children are disabled for this component. */
    children?: never;
    /** Props object passed to the PopoverContent component. */
    contentProps?: PopoverContentProps;
    /** Socket for a set of link sections below user information. */
    sections?: HeaderAccountData['sections'] | JSX.Element;
    /** Props object passed to the PopoverTrigger component. */
    triggerProps?: RightJoinProps<PopoverTriggerProps, AvatarProps>;
    /** Socket for user information on top of the account popover. */
    userInfo?: HeaderAccountData['userInfo'] | JSX.Element;
};
/** Defines heading and an array of links within one section. */
export type HeaderAccountSectionData = {
    heading?: string;
    links?: HeaderLinkData[];
};
export type HeaderAccountUserInfoData = {
    /** Displays company name in account user info section. */
    companyName?: string;
    /** Displays user name in account user info section. */
    displayName?: string;
    isApplication?: boolean;
    role?: string;
};
export type HeaderAccountUserInfoProps = BoxProps & HeaderAccountUserInfoData;
//# sourceMappingURL=headerAccount.types.d.ts.map