import { ReactNode } from 'react'; import { AvatarProps as AvatarProps } from '../Avatar/Avatar'; interface ICardProfile { children: ReactNode; dropMenu?: ReactNode; } export interface IArea { _id: string; name: string; } export interface ICompany { _id: string; name: string; } export interface ISessionLocalStorage { _id: string; name: string; email: string; username: string; areaId: IArea; companyId: ICompany; expires_at: string; logoutDate: string; token: string; } interface IDropMenu { isExpanded: boolean; sessions: ISessionLocalStorage[]; onClickLogout: () => void; handleTokenLogin: () => void; } interface ICardProfileImage { isExpanded?: boolean; imageUrl?: string; fallbackText?: string; avatarProps?: AvatarProps; } interface ICardProfileContent { isExpanded: boolean; nameUser: string; nameCompany: string; nameArea: string; cardProfile: ReactNode; onClick?: () => void; unassigned?: boolean; } interface ICardProfileOptions { onClick: () => void; isExpanded: boolean; } /** * @deprecated Use UserAccountMenu instead. CardProfile is frozen and will be removed in the next major version. */ export declare const CardProfile: (({ children }: ICardProfile) => import("react/jsx-runtime").JSX.Element) & { Menu: ({ isExpanded, sessions, onClickLogout, handleTokenLogin, }: IDropMenu) => import("react/jsx-runtime").JSX.Element; Image: ({ imageUrl, fallbackText, avatarProps }: ICardProfileImage) => import("react/jsx-runtime").JSX.Element; Content: ({ isExpanded, nameUser, nameCompany, nameArea, cardProfile, onClick, unassigned }: ICardProfileContent) => import("react/jsx-runtime").JSX.Element; Separator: () => import("react/jsx-runtime").JSX.Element; Options: ({ isExpanded, onClick }: ICardProfileOptions) => import("react/jsx-runtime").JSX.Element; }; export {};