/// <reference types="react" />
import { TreeProps as AntDTreeProps } from 'antd';
import { DangerouslySetAntdProps } from '../types';
export interface TreeProps extends DangerouslySetAntdProps<AntDTreeProps> {
    /**
     * An array of `TreeNode`s representing the data in the tree
     */
    treeData: AntDTreeProps['treeData'];
    /**
     * An array of keys of nodes in the tree which should be in an expanded state when the tree is first rendered.
     */
    defaultExpandedKeys?: string[];
    /**
     * An array of keys of nodes in the tree which should be in a selected state when the tree is first rendered.
     * Use with `mode="selectable"`.
     */
    defaultSelectedKeys?: string[];
    /**
     * An array of keys of nodes in the tree which should be in a checked state when the tree is first rendered.
     * Use with `mode="checkable"`.
     */
    defaultCheckedKeys?: string[];
    /**
     * Visually and functionally disables the tree.
     */
    disabled?: boolean;
    /**
     * The UX mode of the tree. In `default` mode, nodes are for display only and are non-interactive.
     * In `selectable` mode, nodes can be selected and deselected. This is useful for something like a file browser.
     * In `checkable` mode, nodes are rendered with a checkbox. This is useful for something like a nested preference list.
     */
    mode?: 'default' | 'selectable' | 'multiselectable' | 'checkable';
}
export declare function Tree({ treeData, defaultExpandedKeys, defaultSelectedKeys, defaultCheckedKeys, disabled, mode, dangerouslySetAntdProps, }: TreeProps): JSX.Element;
//# sourceMappingURL=Tree.d.ts.map