import { Optional } from '@ephox/katamari'; import { type MixedKeyModifiers } from '../keyboard/FakeKeys'; import type { Step } from './Step'; export interface KeyPressAdt { fold: (combo: (modifiers: Modifiers, letters: string) => T, text: (s: string) => T, backspace: () => T) => T; match: (branches: { combo: (modifiers: Modifiers, letters: string) => T; text: (s: string) => T; backspace: () => T; }) => T; log: (label: string) => void; } interface Modifiers { readonly ctrlKey: Optional; readonly metaKey: Optional; readonly shiftKey: Optional; readonly altKey: Optional; } export declare const RealKeys: { combo: (modifiers: MixedKeyModifiers, letter: string) => KeyPressAdt; backspace: () => KeyPressAdt; text: (s: string) => KeyPressAdt; sSendKeysOn: (selector: string, keys: KeyPressAdt[]) => Step; pSendKeysOn: (selector: string, keys: KeyPressAdt[]) => Promise<{}>; }; export {}; //# sourceMappingURL=RealKeys.d.ts.map