import { TabsProps } from 'antd/es/tabs/index';interface ACLSettingsUI { addPermissionsTab(tab: Tab | TabCallback): void; getPermissionsTabs(props: PermissionsTabsProps): Tab[];}type Tab = TabsProps['items'][0];type TabCallback = (props: PermissionsTabsProps) => Tab;interface PermissionsTabsProps { /** * the key of the currently active tab panel */ activeKey: string; /** * the currently selected role */ role: Role; /** * translation function */ t: TFunction; /** * used to constrain the size of the container in the Tab */ TabLayout: React.FC;}