import type { TreeNodeData, CheckedKeys } from "../types";
interface UseTreeCheckOptions {
    checkable: boolean;
    checkedKeys?: string[] | CheckedKeys;
    defaultCheckedKeys?: string[];
    checkStrictly?: boolean;
    treeData: TreeNodeData[];
    onCheck?: (keys: string[] | CheckedKeys, info: {
        checked: boolean;
        node: TreeNodeData;
    }) => void;
}
export declare const useTreeCheck: ({ checkable, checkedKeys: controlledKeys, defaultCheckedKeys, checkStrictly, treeData, onCheck, }: UseTreeCheckOptions) => {
    checkedKeys: Set<string>;
    halfCheckedKeys: Set<string>;
    handleCheckToggle: (key: string) => void;
};
export {};
