import type { SafeKey } from "../../_util/type"; export declare const OVERFLOW_KEY = "metis-menu-more"; export default function useKeyRecords(): { registerPath: (key: SafeKey, keyPath: SafeKey[]) => void; unregisterPath: (key: SafeKey, keyPath: SafeKey[]) => void; refreshOverflowKeys: (keys: SafeKey[]) => void; isSubPathKey: (pathKeys: SafeKey[], eventKey: SafeKey) => boolean; getKeyPath: (eventKey: SafeKey, includeOverflow?: boolean) => SafeKey[]; getKeys: () => SafeKey[]; getSubPathKeys: (key: SafeKey) => Set; };