1 | import { Range } from '..';
|
2 | import { ExtendedType } from './custom-types';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export interface BaseText {
|
9 | text: string;
|
10 | }
|
11 | export declare type Text = ExtendedType<'Text', BaseText>;
|
12 | export interface TextInterface {
|
13 | equals: (text: Text, another: Text, options?: {
|
14 | loose?: boolean;
|
15 | }) => boolean;
|
16 | isText: (value: any) => value is Text;
|
17 | isTextList: (value: any) => value is Text[];
|
18 | isTextProps: (props: any) => props is Partial<Text>;
|
19 | matches: (text: Text, props: Partial<Text>) => boolean;
|
20 | decorations: (node: Text, decorations: Range[]) => Text[];
|
21 | }
|
22 | export declare const Text: TextInterface;
|
23 |
|
\ | No newline at end of file |