/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { Command } from '../key/keyMatchers.js';
import { useKeyMatchers } from '../hooks/useKeyMatchers.js';
export function useIsHelpDismissKey() {
    const keyMatchers = useKeyMatchers();
    return (key) => Object.values(Command).some((command) => keyMatchers[command](key));
}
//# sourceMappingURL=shortcutsHelp.js.map