import { type Ref } from 'vue';
import { type ShortcutKeyActionType, type ShortcutKeyInfoType, type ShortcutKeys } from '../shortcut-keys';
type Observer = (action: ShortcutKeyActionType) => void;
/**
 * Document-level shortcut listener aligned with `@ant-design/x` useShortcutKeys.
 */
declare function useShortcutKeys(component: 'conversations', shortcutKeys: Ref<Record<string, ShortcutKeys | ShortcutKeys[]> | undefined>): {
    shortcutKeysInfo: Ref<Record<string, ShortcutKeyInfoType>>;
    subscribe: (fn: Observer) => void;
};
export default useShortcutKeys;
