import { type ChangeEvent, type SyntheticEvent } from 'react'; import { type NewMenuOrganizationProps } from '../NewMenuOrganization'; import { type Organization } from '../types'; type UseLogicParams> = NewMenuOrganizationProps; export declare const useLogic: >({ organizations, onChangeSearch, onChange, currentOrganizationGroupLabel, currentOrganization, groupBy, onClose, onOpen, isOpen: isOpenPopover, isDisabled, disableReason, isHidePersonalData, }: UseLogicParams) => { isShowOrganizationList: boolean; organizationButtonProps: { isOpen: boolean; onClick: (event: SyntheticEvent) => void; currentOrganization: TData & { linkButton?: import("../types").LinkButtonProps | undefined; }; isDisabled: boolean | undefined; disableReason: string | undefined; isHidePersonalData: boolean | undefined; ref: (node: HTMLButtonElement | null) => void; }; searchProps: { value: string; onChange: (event: ChangeEvent) => void; inputProps: { className: string; }; }; popoverProps: { open: boolean; onClose: () => void; anchorEl: import("../../hooks").AnchorType; }; organizationListProps: { organizations: TData[]; currentOrganization: TData & { linkButton?: import("../types").LinkButtonProps | undefined; }; currentOrganizationGroupLabel: string | undefined; groupBy: { name: string; filter: (organizations: TData[]) => TData[]; }[] | undefined; onSelectOrganization: (organization: TData) => () => void; isShowCurrentOrganization: boolean; isHidePersonalData: boolean | undefined; }; }; export {};