Explicit font-display behavior for the icon font
[GitHub/WoltLab/WCF.git] / global.d.ts
CommitLineData
83713d5f
TD
1import DatePicker from "./ts/WoltLabSuite/Core/Date/Picker";
2import Devtools from "./ts/WoltLabSuite/Core/Devtools";
3import DomUtil from "./ts/WoltLabSuite/Core/Dom/Util";
4import * as ColorUtil from "./ts/WoltLabSuite/Core/ColorUtil";
5import * as EventHandler from "./ts/WoltLabSuite/Core/Event/Handler";
6import UiDropdownSimple from "./ts/WoltLabSuite/Core/Ui/Dropdown/Simple";
d5fdf861 7import "@woltlab/zxcvbn";
83713d5f 8import { Reaction } from "./ts/WoltLabSuite/Core/Ui/Reaction/Data";
f73a2744
AE
9
10declare global {
11 interface Window {
12 Devtools?: typeof Devtools;
8883ca84 13 ENABLE_DEBUG_MODE: boolean;
90a65e0d 14 ENABLE_DEVELOPER_TOOLS: boolean;
092eba81 15 LANGUAGE_ID: number;
44341b88
AE
16 REACTION_TYPES: {
17 [key: string]: Reaction;
18 };
1b278782 19 SECURITY_TOKEN: string;
0ead2606 20 TIME_NOW: number;
f73a2744 21 WCF_PATH: string;
8883ca84 22 WSC_API_URL: string;
f73a2744 23
93fdc495 24 Favico: any;
90a65e0d 25 jQuery: JQueryStatic;
b6b1bdd4 26 WCF: any;
ac895ffb 27 bc_wcfDomUtil: typeof DomUtil;
e5d03357 28 bc_wcfSimpleDropdown: typeof UiDropdownSimple;
69ddfb2a 29 __wcf_bc_colorPickerInit?: () => void;
9a11d3a3
AE
30 __wcf_bc_colorUtil: typeof ColorUtil;
31 __wcf_bc_datePicker: typeof DatePicker;
93fdc495 32 __wcf_bc_eventHandler: typeof EventHandler;
f73a2744
AE
33 }
34
35 interface String {
36 hashCode: () => string;
37 }
89d5f9df 38
6ee10a38 39 interface JQuery {
dfc9ac50
AE
40 sortable(...args: any[]): unknown;
41
bfd51550 42 redactor(...args: any[]): unknown;
ceccaf4c
AE
43
44 messageTabMenu(...args: any[]): unknown;
6ee10a38
AE
45 }
46
89d5f9df 47 type ArbitraryObject = Record<string, unknown>;
f73a2744 48}