1 | import { Ancestor, Editor, Node, Operation, Range, RangeRef, Text } from 'slate';
|
2 | import { Action } from '../hooks/android-input-manager/android-input-manager';
|
3 | import { TextDiff } from './diff-text';
|
4 | import { Key } from './key';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | export declare const NODE_TO_INDEX: WeakMap<Node, number>;
|
10 | export declare const NODE_TO_PARENT: WeakMap<Node, Ancestor>;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare const EDITOR_TO_WINDOW: WeakMap<Editor, Window>;
|
16 | export declare const EDITOR_TO_ELEMENT: WeakMap<Editor, HTMLElement>;
|
17 | export declare const EDITOR_TO_PLACEHOLDER: WeakMap<Editor, string>;
|
18 | export declare const EDITOR_TO_PLACEHOLDER_ELEMENT: WeakMap<Editor, HTMLElement>;
|
19 | export declare const ELEMENT_TO_NODE: WeakMap<HTMLElement, Node>;
|
20 | export declare const NODE_TO_ELEMENT: WeakMap<Node, HTMLElement>;
|
21 | export declare const NODE_TO_KEY: WeakMap<Node, Key>;
|
22 | export declare const EDITOR_TO_KEY_TO_ELEMENT: WeakMap<Editor, WeakMap<Key, HTMLElement>>;
|
23 |
|
24 |
|
25 |
|
26 | export declare const IS_READ_ONLY: WeakMap<Editor, boolean>;
|
27 | export declare const IS_FOCUSED: WeakMap<Editor, boolean>;
|
28 | export declare const IS_COMPOSING: WeakMap<Editor, boolean>;
|
29 | export declare const EDITOR_TO_USER_SELECTION: WeakMap<Editor, RangeRef | null>;
|
30 |
|
31 |
|
32 |
|
33 | export declare const EDITOR_TO_ON_CHANGE: WeakMap<import("..").ReactEditor, (options?: {
|
34 | operation?: Operation;
|
35 | }) => void>;
|
36 |
|
37 |
|
38 |
|
39 | export declare const EDITOR_TO_SCHEDULE_FLUSH: WeakMap<Editor, () => void>;
|
40 | export declare const EDITOR_TO_PENDING_INSERTION_MARKS: WeakMap<Editor, Partial<Text> | null>;
|
41 | export declare const EDITOR_TO_USER_MARKS: WeakMap<Editor, Partial<Text> | null>;
|
42 |
|
43 |
|
44 |
|
45 | export declare const EDITOR_TO_PENDING_DIFFS: WeakMap<Editor, TextDiff[]>;
|
46 | export declare const EDITOR_TO_PENDING_ACTION: WeakMap<Editor, Action | null>;
|
47 | export declare const EDITOR_TO_PENDING_SELECTION: WeakMap<Editor, Range | null>;
|
48 | export declare const EDITOR_TO_FORCE_RENDER: WeakMap<Editor, () => void>;
|
49 |
|
50 |
|
51 |
|
52 | export declare const PLACEHOLDER_SYMBOL: string;
|
53 | export declare const MARK_PLACEHOLDER_SYMBOL: string;
|
54 |
|
\ | No newline at end of file |