import * as PropTypes from 'prop-types';
import * as React from 'react';
import { CanvasInstance } from '../../canvas';
interface IProps {
    canvasRef: CanvasInstance;
    descriptors: any;
}
declare class WorkflowItems extends React.Component<IProps> {
    static propTypes: {
        canvasRef: PropTypes.Requireable<any>;
        descriptors: PropTypes.Requireable<object>;
    };
    state: {
        activeKey: any[];
        collapse: boolean;
        textSearch: string;
        descriptors: any[];
        filteredDescriptors: any[];
    };
    item: any;
    componentDidMount(): void;
    UNSAFE_componentWillReceiveProps(nextProps: any): void;
    shouldComponentUpdate(nextProps: any, nextState: any): boolean;
    componentWillUnmount(): void;
    handlers: {
        onAddItem: (item: any, centered?: boolean) => void;
        onChangeActiveKey: (activeKey: any) => void;
        onCollapse: () => void;
    };
    events: {
        onDragStart: (e: any, item: any) => void;
        onDragOver: (e: any) => boolean;
        onDragEnter: (e: any) => void;
        onDragLeave: (e: any) => void;
        onDrop: (e: any) => boolean;
        onDragEnd: (e: any, item?: any) => void;
    };
    waitForCanvasRender: (canvas: any) => void;
    attachEventListener: (canvasRef: any) => void;
    detachEventListener: (canvasRef: any) => void;
    renderItems: (items: any) => JSX.Element;
    render(): JSX.Element;
}
export default WorkflowItems;
