1 | import { MermaidConfig } from '../../config.type.js';
|
2 | export declare const lineBreakRegex: RegExp;
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | export declare const getRows: (s?: string) => string[];
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare const removeScript: (txt: string) => string;
|
17 | export declare const sanitizeText: (text: string, config: MermaidConfig) => string;
|
18 | export declare const sanitizeTextOrArray: (a: string | string[] | string[][], config: MermaidConfig) => string | string[];
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | export declare const hasBreaks: (text: string) => boolean;
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare const splitBreaks: (text: string) => string[];
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 | export declare const evaluate: (val?: string | boolean) => boolean;
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 | export declare const getMax: (...values: number[]) => number;
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 | export declare const getMin: (...values: number[]) => number;
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 | export declare const parseGenericTypes: (text: string) => string;
|
68 | declare const _default: {
|
69 | getRows: (s?: string | undefined) => string[];
|
70 | sanitizeText: (text: string, config: MermaidConfig) => string;
|
71 | sanitizeTextOrArray: (a: string | string[] | string[][], config: MermaidConfig) => string | string[];
|
72 | hasBreaks: (text: string) => boolean;
|
73 | splitBreaks: (text: string) => string[];
|
74 | lineBreakRegex: RegExp;
|
75 | removeScript: (txt: string) => string;
|
76 | getUrl: (useAbsolute: boolean) => string;
|
77 | evaluate: (val?: string | boolean | undefined) => boolean;
|
78 | getMax: (...values: number[]) => number;
|
79 | getMin: (...values: number[]) => number;
|
80 | };
|
81 | export default _default;
|