import { type Ref } from 'vue';
import { type TreeNode } from 'treemate';
import { type TreeOverrideNodeClickBehavior, type Key, type TmNode, type TreeOption, type TreeOverrideNodeClickBehaviorReturn } from './interface';
export declare function useKeyboard({ props, fNodesRef, mergedExpandedKeysRef, mergedSelectedKeysRef, mergedCheckedKeysRef, handleCheck, handleSelect, handleSwitcherClick }: {
    props: {
        keyboard: boolean;
        overrideDefaultNodeClickBehavior: TreeOverrideNodeClickBehavior | undefined;
    };
    fNodesRef: Ref<Array<TreeNode<TreeOption>>>;
    mergedExpandedKeysRef: Ref<Key[]>;
    mergedSelectedKeysRef: Ref<Key[]>;
    mergedCheckedKeysRef: Ref<Key[]>;
    handleSelect: (node: TmNode) => void;
    handleSwitcherClick: (node: TmNode) => void;
    handleCheck: (node: TmNode, checked: boolean) => void;
}): {
    pendingNodeKeyRef: Ref<null | Key>;
    handleKeydown: (e: KeyboardEvent) => {
        enterBehavoir: TreeOverrideNodeClickBehaviorReturn | null;
    };
};
