import * as React from 'react';
export interface IOptionItem {
    /**
     * 组件 key 值，当text为 ReactNode 时，必须传该 props
     */
    key?: string;
    /**
     * 操作名称
     */
    text: string | React.ReactNode;
    /**
     * tooltip title
     */
    title?: string;
    /**
     * 对应的资源
     */
    source?: any;
    /**
     * 点击后的操作
     */
    onClick?: (source: any) => void;
    /**
     * 禁用当前操作
     */
    disabled?: boolean;
    /**
     * 隐藏当前操作
     */
    hidden?: boolean;
}
export interface IOptionListProps {
    /**
     * 选项容器 className
     */
    className?: string;
    /** 操作列表 */
    options: IOptionItem[];
    /** 浮层渲染父节点 */
    getPopupContainer?: (triggerNode: Element) => HTMLElement;
}
/**
 * 资源列表页面表格中操作列表
 */
export default class OptionList extends React.Component<IOptionListProps, {}> {
    visible: boolean;
    setVisible(visible: boolean): void;
    handleItemClick(option: IOptionItem): void;
    render(): React.JSX.Element;
}
