-
Notifications
You must be signed in to change notification settings - Fork 97
/
ansi_up.d.ts
46 lines (46 loc) · 1.2 KB
/
ansi_up.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
export declare class AnsiUp {
VERSION: string;
private ansi_colors;
private palette_256;
private fg;
private bg;
private bold;
private faint;
private italic;
private underline;
private _use_classes;
private _csi_regex;
private _osc_st;
private _osc_regex;
private _url_allowlist;
private _escape_html;
private _buffer;
private _boldStyle;
private _faintStyle;
private _italicStyle;
private _underlineStyle;
constructor();
set use_classes(arg: boolean);
get use_classes(): boolean;
set url_allowlist(arg: {});
get url_allowlist(): {};
set escape_html(arg: boolean);
get escape_html(): boolean;
set boldStyle(arg: string);
get boldStyle(): string;
set faintStyle(arg: string);
get faintStyle(): string;
set italicStyle(arg: string);
get italicStyle(): string;
set underlineStyle(arg: string);
get underlineStyle(): string;
private setup_palettes;
private escape_txt_for_html;
private append_buffer;
private get_next_packet;
ansi_to_html(txt: string): string;
private with_state;
private process_ansi;
private transform_to_html;
private process_hyperlink;
}