export function AddUserGroupsRolesModal({ existingShares, isOpen, onFinalSubmit, mainEntity, calledBy, onCopyLink, shareableLink, onClose, showExistingShares, allowedPermissions, deleteProps, onDelete, initialView, pendingLabel, onPermissionChange, ariaLabel, ariaLabelledBy, ariaDescribedBy, departmentFetcher, enableDepartments, relationshipFetcher, enableRelationships, segmentationFetcher, enableSegmentations, singleSelect, variant, submitLabel, cancelLabel, heading, manageListProps, shareCounts, preservePendingOnSharesChange, testIdPrefix, "data-testid": dataTestId, ...props }: { [x: string]: any; existingShares?: { users: any[]; groups: any[]; roles: any[]; departments: any[]; segmentations: any[]; }; isOpen: any; onFinalSubmit?: () => void; mainEntity: any; calledBy: any; onCopyLink: any; shareableLink: any; onClose?: () => void; showExistingShares?: boolean; allowedPermissions?: any[]; deleteProps?: { method: string; url: string; body: any; }; onDelete?: () => void; initialView?: string; pendingLabel?: string; onPermissionChange?: () => void; ariaLabel: any; ariaLabelledBy: any; ariaDescribedBy: any; departmentFetcher: any; enableDepartments?: boolean; relationshipFetcher: any; enableRelationships?: boolean; segmentationFetcher: any; enableSegmentations?: boolean; singleSelect?: boolean; variant?: string; submitLabel?: string; cancelLabel?: string; heading: any; manageListProps: any; shareCounts: any; preservePendingOnSharesChange?: boolean; testIdPrefix: any; "data-testid": any; }): import("react").JSX.Element;