import { FunctionComponent } from 'react'; import { SingleTreeProps, MultipleTreeProps } from '../types/tree'; declare type PickPropsKeys = 'data' | 'defaultCheckedPath' | 'defaultExpandPath' | 'loadData' | 'onCanMove' | 'onMove' | 'onUpdateTree'; declare type BaseSingleProps, PickPropsKeys>> = P & { Render: FunctionComponent

; }; export declare function SingleTreeProvider, PickPropsKeys>>({ Render, ...extra }: BaseSingleProps): JSX.Element; export declare function withSingleTreeProvider(Render: FunctionComponent>): (props: SingleTreeProps) => JSX.Element; declare type BaseMultipleProps = MultipleTreeProps & { Render: FunctionComponent>; }; export declare function MultipleTreeProvider({ Render, ...extra }: BaseMultipleProps): JSX.Element; export declare function withMultipleTreeProvider(Render: FunctionComponent>): (props: MultipleTreeProps) => JSX.Element; export {};