import { type Optional } from '@ephox/katamari'; import type { EventArgs } from '@ephox/sugar'; import type { KeyRuleHandler } from '../keying/KeyingModeTypes'; import * as KeyMatch from './KeyMatch'; export interface KeyRule { matches: KeyMatch.KeyMatcher; classification: KeyRuleHandler; } declare const basic: (key: number, action: KeyRuleHandler) => KeyRule; declare const rule: (matches: KeyMatch.KeyMatcher, action: KeyRuleHandler) => KeyRule; declare const choose: (transitions: Array>, event: EventArgs) => Optional>; export { basic, rule, choose }; //# sourceMappingURL=KeyRules.d.ts.map