1 | import type { IKeyboardLayoutInfo, IKeyboardMapping } from 'native-keymap';
|
2 | import { Event } from '../event';
|
3 | export declare const keyboardPath = "/services/keyboard";
|
4 | export declare const KeyboardLayoutProvider: unique symbol;
|
5 | export interface KeyboardLayoutProvider {
|
6 | getNativeLayout(): Promise<NativeKeyboardLayout>;
|
7 | }
|
8 | export declare const KeyboardLayoutChangeNotifier: unique symbol;
|
9 | export interface KeyboardLayoutChangeNotifier {
|
10 | onDidChangeNativeLayout: Event<NativeKeyboardLayout>;
|
11 | }
|
12 | export interface KeyValidationInput {
|
13 | code: string;
|
14 | character: string;
|
15 | shiftKey?: boolean;
|
16 | ctrlKey?: boolean;
|
17 | altKey?: boolean;
|
18 | }
|
19 | export declare const KeyValidator: unique symbol;
|
20 | export interface KeyValidator {
|
21 | validateKey(input: KeyValidationInput): void;
|
22 | }
|
23 | export interface NativeKeyboardLayout {
|
24 | info: IKeyboardLayoutInfo;
|
25 | mapping: IKeyboardMapping;
|
26 | }
|
27 |
|
\ | No newline at end of file |