import type { Keymap, KeymapEvent, ReactiveMatcher } from "../../index.js"; /** * Accepted `enabled` values: boolean, raw `() => boolean`, or an * `ReactiveMatcher` for subscription-driven invalidation. */ export type Enabled = boolean | (() => boolean) | ReactiveMatcher; /** * Adds `enabled` layer and command fields for boolean, callback, or reactive * matcher gating. */ export declare function registerEnabledFields(keymap: Keymap): () => void;