1 |
|
2 |
|
3 |
|
4 |
|
5 | import LinkifyIt from 'linkify-it';
|
6 |
|
7 |
|
8 |
|
9 | export declare const isSafeUrl: (url: string) => boolean;
|
10 | export interface Match {
|
11 | schema: any;
|
12 | index: number;
|
13 | lastIndex: number;
|
14 | raw: string;
|
15 | text: string;
|
16 | url: string;
|
17 | length?: number;
|
18 | input?: string;
|
19 | }
|
20 | export declare const linkify: LinkifyIt.LinkifyIt;
|
21 | export declare const LINK_REGEXP: RegExp;
|
22 | export declare const linkifyMatch: (text: string) => Match[];
|
23 | export declare function getLinkMatch(str?: string): Match | null;
|
24 |
|
25 |
|
26 |
|
27 | export declare function normalizeUrl(url?: string): string;
|
28 |
|
29 |
|
30 |
|
31 | export declare function isRootRelative(url: string): boolean;
|