import React from 'react';
import { type ComponentUninstalledTexts } from './locale';
export type { ComponentUninstalledTexts } from './locale';
export { componentUninstalledLocaleZhCN, mergeComponentUninstalledTexts } from './locale';
import './index.less';
export interface ComponentUninstalledMenuData {
    requiredComponents?: string[];
}
export interface ComponentUninstalledStorage {
    getSession: (key: string, returnStr?: boolean) => unknown;
}
export type GetClusterAddons = (params: {
    clusterName: string;
}) => Promise<{
    data?: {
        enabled?: string[];
    };
}>;
export interface ComponentUninstalledProps {
    clusterName?: string;
    clusterAliasName?: string;
    /** 当前菜单；未传时从 storage 读取 currentMenu */
    menuData?: ComponentUninstalledMenuData | null;
    onCallback?: (hasUninstalled: boolean) => void;
    /** 全屏遮罩页 */
    isMask?: boolean;
    getClusterAddons?: GetClusterAddons;
    storage?: ComponentUninstalledStorage;
    texts?: ComponentUninstalledTexts;
}
declare const ComponentUninstalled: React.FC<ComponentUninstalledProps>;
export default ComponentUninstalled;
