wuira 0.3.3 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +15 -12
  3. package/docs/source-converters.md +5 -5
  4. package/docs/spells.md +1 -1
  5. package/lib/datasources/NativeApi.d.ts +319 -0
  6. package/lib/datasources/NativeApi.lua +1114 -0
  7. package/lib/datasources/UseSource.d.ts +41 -43
  8. package/lib/datasources/index.d.ts +3 -25
  9. package/lib/datasources/index.lua +45 -74
  10. package/lib/helpers/Auras.d.ts +5 -0
  11. package/lib/helpers/Auras.lua +47 -0
  12. package/lib/helpers/Range.d.ts +2 -0
  13. package/lib/helpers/Range.lua +30 -0
  14. package/lib/helpers/index.d.ts +2 -0
  15. package/lib/helpers/index.lua +12 -0
  16. package/lib/index.d.ts +1 -0
  17. package/lib/index.lua +6 -0
  18. package/lib/platform/forever.d.ts +3 -0
  19. package/lib/rendering/progress.lua +5 -150
  20. package/lib/ui/UnitPortrait.d.ts +1 -2
  21. package/lib/ui/UnitPortrait.lua +11 -18
  22. package/package.json +8 -1
  23. package/lib/datasources/AuraTimer.d.ts +0 -21
  24. package/lib/datasources/AuraTimer.lua +0 -334
  25. package/lib/datasources/Auras.d.ts +0 -32
  26. package/lib/datasources/Auras.lua +0 -300
  27. package/lib/datasources/CastTimer.d.ts +0 -9
  28. package/lib/datasources/CastTimer.lua +0 -255
  29. package/lib/datasources/EditModeLayouts.d.ts +0 -33
  30. package/lib/datasources/EditModeLayouts.lua +0 -698
  31. package/lib/datasources/GroupMembers.d.ts +0 -24
  32. package/lib/datasources/GroupMembers.lua +0 -477
  33. package/lib/datasources/GroupRoster.d.ts +0 -28
  34. package/lib/datasources/GroupRoster.lua +0 -622
  35. package/lib/datasources/KnownSpells.d.ts +0 -33
  36. package/lib/datasources/KnownSpells.lua +0 -1077
  37. package/lib/datasources/ManaRegenTimer.d.ts +0 -29
  38. package/lib/datasources/ManaRegenTimer.lua +0 -683
  39. package/lib/datasources/Resources.d.ts +0 -81
  40. package/lib/datasources/Resources.lua +0 -907
  41. package/lib/datasources/SpellCooldown.d.ts +0 -12
  42. package/lib/datasources/SpellCooldown.lua +0 -240
  43. package/lib/datasources/SpellSource.d.ts +0 -14
  44. package/lib/datasources/SpellSource.lua +0 -236
  45. package/lib/datasources/SwingTimer.d.ts +0 -31
  46. package/lib/datasources/SwingTimer.lua +0 -650
  47. package/lib/datasources/TotemTimer.d.ts +0 -10
  48. package/lib/datasources/TotemTimer.lua +0 -275
  49. package/lib/datasources/UnitInfo.d.ts +0 -51
  50. package/lib/datasources/UnitInfo.lua +0 -801
  51. package/lib/datasources/UnitSource.d.ts +0 -38
  52. package/lib/datasources/UnitSource.lua +0 -613
@@ -1,300 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- -- Lua Library inline imports
3
- local function __TS__Class(self)
4
- local c = {prototype = {}}
5
- c.prototype.__index = c.prototype
6
- c.prototype.constructor = c
7
- return c
8
- end
9
-
10
- local function __TS__ClassExtends(target, base)
11
- target.____super = base
12
- local staticMetatable = setmetatable({__index = base}, base)
13
- setmetatable(target, staticMetatable)
14
- local baseMetatable = getmetatable(base)
15
- if baseMetatable then
16
- if type(baseMetatable.__index) == "function" then
17
- staticMetatable.__index = baseMetatable.__index
18
- end
19
- if type(baseMetatable.__newindex) == "function" then
20
- staticMetatable.__newindex = baseMetatable.__newindex
21
- end
22
- end
23
- setmetatable(target.prototype, base.prototype)
24
- if type(base.prototype.__index) == "function" then
25
- target.prototype.__index = base.prototype.__index
26
- end
27
- if type(base.prototype.__newindex) == "function" then
28
- target.prototype.__newindex = base.prototype.__newindex
29
- end
30
- if type(base.prototype.__tostring) == "function" then
31
- target.prototype.__tostring = base.prototype.__tostring
32
- end
33
- end
34
-
35
- local function __TS__New(target, ...)
36
- local instance = setmetatable({}, target.prototype)
37
- instance:____constructor(...)
38
- return instance
39
- end
40
-
41
- local function __TS__CloneDescriptor(____bindingPattern0)
42
- local value
43
- local writable
44
- local set
45
- local get
46
- local configurable
47
- local enumerable
48
- enumerable = ____bindingPattern0.enumerable
49
- configurable = ____bindingPattern0.configurable
50
- get = ____bindingPattern0.get
51
- set = ____bindingPattern0.set
52
- writable = ____bindingPattern0.writable
53
- value = ____bindingPattern0.value
54
- local descriptor = {enumerable = enumerable == true, configurable = configurable == true}
55
- local hasGetterOrSetter = get ~= nil or set ~= nil
56
- local hasValueOrWritableAttribute = writable ~= nil or value ~= nil
57
- if hasGetterOrSetter and hasValueOrWritableAttribute then
58
- error("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute.", 0)
59
- end
60
- if get or set then
61
- descriptor.get = get
62
- descriptor.set = set
63
- else
64
- descriptor.value = value
65
- descriptor.writable = writable == true
66
- end
67
- return descriptor
68
- end
69
-
70
- local __TS__DescriptorGet
71
- do
72
- local getmetatable = _G.getmetatable
73
- local ____rawget = _G.rawget
74
- function __TS__DescriptorGet(self, metatable, key)
75
- while metatable do
76
- local rawResult = ____rawget(metatable, key)
77
- if rawResult ~= nil then
78
- return rawResult
79
- end
80
- local descriptors = ____rawget(metatable, "_descriptors")
81
- if descriptors then
82
- local descriptor = descriptors[key]
83
- if descriptor ~= nil then
84
- if descriptor.get then
85
- return descriptor.get(self)
86
- end
87
- return descriptor.value
88
- end
89
- end
90
- metatable = getmetatable(metatable)
91
- end
92
- end
93
- end
94
-
95
- local __TS__DescriptorSet
96
- do
97
- local getmetatable = _G.getmetatable
98
- local ____rawget = _G.rawget
99
- local rawset = _G.rawset
100
- function __TS__DescriptorSet(self, metatable, key, value)
101
- while metatable do
102
- local descriptors = ____rawget(metatable, "_descriptors")
103
- if descriptors then
104
- local descriptor = descriptors[key]
105
- if descriptor ~= nil then
106
- if descriptor.set then
107
- descriptor.set(self, value)
108
- else
109
- if descriptor.writable == false then
110
- error(
111
- ((("Cannot assign to read only property '" .. key) .. "' of object '") .. tostring(self)) .. "'",
112
- 0
113
- )
114
- end
115
- descriptor.value = value
116
- end
117
- return
118
- end
119
- end
120
- metatable = getmetatable(metatable)
121
- end
122
- rawset(self, key, value)
123
- end
124
- end
125
-
126
- local __TS__SetDescriptor
127
- do
128
- local getmetatable = _G.getmetatable
129
- local function descriptorIndex(self, key)
130
- return __TS__DescriptorGet(
131
- self,
132
- getmetatable(self),
133
- key
134
- )
135
- end
136
- local function descriptorNewIndex(self, key, value)
137
- return __TS__DescriptorSet(
138
- self,
139
- getmetatable(self),
140
- key,
141
- value
142
- )
143
- end
144
- function __TS__SetDescriptor(target, key, desc, isPrototype)
145
- if isPrototype == nil then
146
- isPrototype = false
147
- end
148
- local ____isPrototype_0
149
- if isPrototype then
150
- ____isPrototype_0 = target
151
- else
152
- ____isPrototype_0 = getmetatable(target)
153
- end
154
- local metatable = ____isPrototype_0
155
- if not metatable then
156
- metatable = {}
157
- setmetatable(target, metatable)
158
- end
159
- if not isPrototype and not rawget(metatable, "_isOwnDescriptorMetatable") then
160
- local instanceMetatable = {}
161
- instanceMetatable._isOwnDescriptorMetatable = true
162
- setmetatable(instanceMetatable, metatable)
163
- setmetatable(target, instanceMetatable)
164
- metatable = instanceMetatable
165
- end
166
- local value = rawget(target, key)
167
- if value ~= nil then
168
- rawset(target, key, nil)
169
- end
170
- if not rawget(metatable, "_descriptors") then
171
- metatable._descriptors = {}
172
- end
173
- metatable._descriptors[key] = __TS__CloneDescriptor(desc)
174
- metatable.__index = descriptorIndex
175
- metatable.__newindex = descriptorNewIndex
176
- end
177
- end
178
- -- End of Lua Library inline imports
179
- local ____exports = {}
180
- local ____DataSource = require("datasources.DataSource")
181
- local DataSource = ____DataSource.DataSource
182
- local ____Source = require("datasources.Source")
183
- local registerSource = ____Source.registerSource
184
- local ____UnitSource = require("datasources.UnitSource")
185
- local resolveUnit = ____UnitSource.resolveUnit
186
- --- Readable aura snapshot. Unit tokens describe the source at snapshot time.
187
- ____exports.Aura = __TS__Class()
188
- local Aura = ____exports.Aura
189
- Aura.name = "Aura"
190
- function Aura.prototype.____constructor(self, spellId, name, icon, sourceUnit, sourceStatus, sourceSelf)
191
- self.spellId = spellId
192
- self.name = name
193
- self.icon = icon
194
- self.sourceUnit = sourceUnit
195
- self.sourceStatus = sourceStatus
196
- self.sourceSelf = sourceSelf
197
- end
198
- function Aura.prototype.isSourceSelf(self)
199
- return self.sourceSelf
200
- end
201
- --- Reads a fresh snapshot on access; it does not install listeners or poll.
202
- ____exports.AuraSource = __TS__Class()
203
- local AuraSource = ____exports.AuraSource
204
- AuraSource.name = "AuraSource"
205
- __TS__ClassExtends(AuraSource, DataSource)
206
- function AuraSource.prototype.____constructor(self, unit, filter)
207
- DataSource.prototype.____constructor(self, {})
208
- self.filter = filter
209
- self.restricted = false
210
- self.target = resolveUnit(nil, unit)
211
- end
212
- function AuraSource.prototype.HasSecretFields(self)
213
- return self.restricted
214
- end
215
- function AuraSource.prototype.GetValue(self)
216
- self.restricted = false
217
- local read = C_UnitAuras and C_UnitAuras.GetAuraDataByIndex
218
- if read == nil then
219
- error("AuraSource: this client does not expose C_UnitAuras.GetAuraDataByIndex")
220
- end
221
- local result = {}
222
- do
223
- local index = 1
224
- while index <= 1024 do
225
- local raw = read(self.unit, index, self.filter)
226
- if issecretvalue(raw) then
227
- self.restricted = true
228
- return {}
229
- end
230
- if raw == nil then
231
- return result
232
- end
233
- if issecretvalue(raw.spellId) or issecretvalue(raw.name) or issecretvalue(raw.icon) then
234
- self.restricted = true
235
- return {}
236
- end
237
- local sourceUnit
238
- local sourceSelf
239
- local status = "unknown"
240
- if issecretvalue(raw.sourceUnit) then
241
- status = "restricted"
242
- elseif raw.sourceUnit ~= nil then
243
- sourceUnit = raw.sourceUnit
244
- status = "known"
245
- local ____self = UnitIsUnit(sourceUnit, "player")
246
- if not issecretvalue(____self) then
247
- sourceSelf = ____self
248
- end
249
- end
250
- result[#result + 1] = __TS__New(
251
- ____exports.Aura,
252
- raw.spellId,
253
- raw.name,
254
- raw.icon,
255
- sourceUnit,
256
- status,
257
- sourceSelf
258
- )
259
- index = index + 1
260
- end
261
- end
262
- error("AuraSource: aura enumeration exceeded its safety limit")
263
- end
264
- __TS__SetDescriptor(
265
- AuraSource.prototype,
266
- "unit",
267
- {get = function(self)
268
- return self.target.Token
269
- end},
270
- true
271
- )
272
- ____exports.Buffs = __TS__Class()
273
- local Buffs = ____exports.Buffs
274
- Buffs.name = "Buffs"
275
- __TS__ClassExtends(Buffs, ____exports.AuraSource)
276
- function Buffs.prototype.____constructor(self, unit)
277
- Buffs.____super.prototype.____constructor(self, unit, "HELPFUL")
278
- end;
279
- (function(self)
280
- registerSource(
281
- nil,
282
- ____exports.Buffs,
283
- function(____, props) return __TS__New(____exports.Buffs, props[1]) end
284
- )
285
- end)(Buffs)
286
- ____exports.Debuffs = __TS__Class()
287
- local Debuffs = ____exports.Debuffs
288
- Debuffs.name = "Debuffs"
289
- __TS__ClassExtends(Debuffs, ____exports.AuraSource)
290
- function Debuffs.prototype.____constructor(self, unit)
291
- Debuffs.____super.prototype.____constructor(self, unit, "HARMFUL")
292
- end;
293
- (function(self)
294
- registerSource(
295
- nil,
296
- ____exports.Debuffs,
297
- function(____, props) return __TS__New(____exports.Debuffs, props[1]) end
298
- )
299
- end)(Debuffs)
300
- return ____exports
@@ -1,9 +0,0 @@
1
- import { TimerSource } from "./TimerSource";
2
- import { UnitSource } from "./UnitSource";
3
- import type { UnitInput } from "./UnitSource";
4
- /** Remaining cast/channel time using the native duration object. */
5
- export declare class CastTimer extends TimerSource {
6
- readonly target: UnitSource;
7
- get SpellName(): string;
8
- protected constructor(unit?: UnitInput);
9
- }
@@ -1,255 +0,0 @@
1
- --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- -- Lua Library inline imports
3
- local function __TS__Class(self)
4
- local c = {prototype = {}}
5
- c.prototype.__index = c.prototype
6
- c.prototype.constructor = c
7
- return c
8
- end
9
-
10
- local function __TS__ClassExtends(target, base)
11
- target.____super = base
12
- local staticMetatable = setmetatable({__index = base}, base)
13
- setmetatable(target, staticMetatable)
14
- local baseMetatable = getmetatable(base)
15
- if baseMetatable then
16
- if type(baseMetatable.__index) == "function" then
17
- staticMetatable.__index = baseMetatable.__index
18
- end
19
- if type(baseMetatable.__newindex) == "function" then
20
- staticMetatable.__newindex = baseMetatable.__newindex
21
- end
22
- end
23
- setmetatable(target.prototype, base.prototype)
24
- if type(base.prototype.__index) == "function" then
25
- target.prototype.__index = base.prototype.__index
26
- end
27
- if type(base.prototype.__newindex) == "function" then
28
- target.prototype.__newindex = base.prototype.__newindex
29
- end
30
- if type(base.prototype.__tostring) == "function" then
31
- target.prototype.__tostring = base.prototype.__tostring
32
- end
33
- end
34
-
35
- local __TS__Unpack = table.unpack or unpack
36
-
37
- local function __TS__CloneDescriptor(____bindingPattern0)
38
- local value
39
- local writable
40
- local set
41
- local get
42
- local configurable
43
- local enumerable
44
- enumerable = ____bindingPattern0.enumerable
45
- configurable = ____bindingPattern0.configurable
46
- get = ____bindingPattern0.get
47
- set = ____bindingPattern0.set
48
- writable = ____bindingPattern0.writable
49
- value = ____bindingPattern0.value
50
- local descriptor = {enumerable = enumerable == true, configurable = configurable == true}
51
- local hasGetterOrSetter = get ~= nil or set ~= nil
52
- local hasValueOrWritableAttribute = writable ~= nil or value ~= nil
53
- if hasGetterOrSetter and hasValueOrWritableAttribute then
54
- error("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute.", 0)
55
- end
56
- if get or set then
57
- descriptor.get = get
58
- descriptor.set = set
59
- else
60
- descriptor.value = value
61
- descriptor.writable = writable == true
62
- end
63
- return descriptor
64
- end
65
-
66
- local __TS__DescriptorGet
67
- do
68
- local getmetatable = _G.getmetatable
69
- local ____rawget = _G.rawget
70
- function __TS__DescriptorGet(self, metatable, key)
71
- while metatable do
72
- local rawResult = ____rawget(metatable, key)
73
- if rawResult ~= nil then
74
- return rawResult
75
- end
76
- local descriptors = ____rawget(metatable, "_descriptors")
77
- if descriptors then
78
- local descriptor = descriptors[key]
79
- if descriptor ~= nil then
80
- if descriptor.get then
81
- return descriptor.get(self)
82
- end
83
- return descriptor.value
84
- end
85
- end
86
- metatable = getmetatable(metatable)
87
- end
88
- end
89
- end
90
-
91
- local __TS__DescriptorSet
92
- do
93
- local getmetatable = _G.getmetatable
94
- local ____rawget = _G.rawget
95
- local rawset = _G.rawset
96
- function __TS__DescriptorSet(self, metatable, key, value)
97
- while metatable do
98
- local descriptors = ____rawget(metatable, "_descriptors")
99
- if descriptors then
100
- local descriptor = descriptors[key]
101
- if descriptor ~= nil then
102
- if descriptor.set then
103
- descriptor.set(self, value)
104
- else
105
- if descriptor.writable == false then
106
- error(
107
- ((("Cannot assign to read only property '" .. key) .. "' of object '") .. tostring(self)) .. "'",
108
- 0
109
- )
110
- end
111
- descriptor.value = value
112
- end
113
- return
114
- end
115
- end
116
- metatable = getmetatable(metatable)
117
- end
118
- rawset(self, key, value)
119
- end
120
- end
121
-
122
- local __TS__SetDescriptor
123
- do
124
- local getmetatable = _G.getmetatable
125
- local function descriptorIndex(self, key)
126
- return __TS__DescriptorGet(
127
- self,
128
- getmetatable(self),
129
- key
130
- )
131
- end
132
- local function descriptorNewIndex(self, key, value)
133
- return __TS__DescriptorSet(
134
- self,
135
- getmetatable(self),
136
- key,
137
- value
138
- )
139
- end
140
- function __TS__SetDescriptor(target, key, desc, isPrototype)
141
- if isPrototype == nil then
142
- isPrototype = false
143
- end
144
- local ____isPrototype_0
145
- if isPrototype then
146
- ____isPrototype_0 = target
147
- else
148
- ____isPrototype_0 = getmetatable(target)
149
- end
150
- local metatable = ____isPrototype_0
151
- if not metatable then
152
- metatable = {}
153
- setmetatable(target, metatable)
154
- end
155
- if not isPrototype and not rawget(metatable, "_isOwnDescriptorMetatable") then
156
- local instanceMetatable = {}
157
- instanceMetatable._isOwnDescriptorMetatable = true
158
- setmetatable(instanceMetatable, metatable)
159
- setmetatable(target, instanceMetatable)
160
- metatable = instanceMetatable
161
- end
162
- local value = rawget(target, key)
163
- if value ~= nil then
164
- rawset(target, key, nil)
165
- end
166
- if not rawget(metatable, "_descriptors") then
167
- metatable._descriptors = {}
168
- end
169
- metatable._descriptors[key] = __TS__CloneDescriptor(desc)
170
- metatable.__index = descriptorIndex
171
- metatable.__newindex = descriptorNewIndex
172
- end
173
- end
174
-
175
- local function __TS__New(target, ...)
176
- local instance = setmetatable({}, target.prototype)
177
- instance:____constructor(...)
178
- return instance
179
- end
180
- -- End of Lua Library inline imports
181
- local ____exports = {}
182
- local ____TimerSource = require("datasources.TimerSource")
183
- local TimerSource = ____TimerSource.TimerSource
184
- local ____Source = require("datasources.Source")
185
- local registerSource = ____Source.registerSource
186
- local ____UnitSource = require("datasources.UnitSource")
187
- local Unit = ____UnitSource.Unit
188
- local resolveUnit = ____UnitSource.resolveUnit
189
- --- Remaining cast/channel time using the native duration object.
190
- ____exports.CastTimer = __TS__Class()
191
- local CastTimer = ____exports.CastTimer
192
- CastTimer.name = "CastTimer"
193
- __TS__ClassExtends(CastTimer, TimerSource)
194
- function CastTimer.prototype.____constructor(self, unit)
195
- if unit == nil then
196
- unit = Unit.Player
197
- end
198
- local target = resolveUnit(nil, unit)
199
- if UnitCastingDuration == nil or UnitChannelDuration == nil then
200
- error("CastTimer: native cast/channel durations are unavailable")
201
- end
202
- TimerSource.prototype.____constructor(
203
- self,
204
- function()
205
- local casting = UnitCastingDuration(target.Token)
206
- if issecretvalue(casting) or casting ~= nil then
207
- return casting
208
- end
209
- return UnitChannelDuration(target.Token)
210
- end,
211
- {
212
- "UNIT_SPELLCAST_START",
213
- "UNIT_SPELLCAST_STOP",
214
- "UNIT_SPELLCAST_DELAYED",
215
- "UNIT_SPELLCAST_INTERRUPTED",
216
- "UNIT_SPELLCAST_FAILED",
217
- "UNIT_SPELLCAST_SUCCEEDED",
218
- "UNIT_SPELLCAST_CHANNEL_START",
219
- "UNIT_SPELLCAST_CHANNEL_UPDATE",
220
- "UNIT_SPELLCAST_CHANNEL_STOP",
221
- "PLAYER_ENTERING_WORLD",
222
- "PLAYER_TARGET_CHANGED",
223
- "PLAYER_FOCUS_CHANGED"
224
- },
225
- target.Token
226
- )
227
- self.target = target
228
- end
229
- __TS__SetDescriptor(
230
- CastTimer.prototype,
231
- "SpellName",
232
- {get = function(self)
233
- local casting = __TS__Unpack(UnitCastingInfo ~= nil and ({UnitCastingInfo(self.target.Token)}) or ({nil}))
234
- if issecretvalue(casting) then
235
- return casting
236
- end
237
- if casting ~= nil then
238
- return casting
239
- end
240
- local channel = __TS__Unpack(UnitChannelInfo ~= nil and ({UnitChannelInfo(self.target.Token)}) or ({nil}))
241
- if issecretvalue(channel) then
242
- return channel
243
- end
244
- return channel or ""
245
- end},
246
- true
247
- );
248
- (function(self)
249
- registerSource(
250
- nil,
251
- ____exports.CastTimer,
252
- function(____, props) return __TS__New(____exports.CastTimer, props[1]) end
253
- )
254
- end)(CastTimer)
255
- return ____exports
@@ -1,33 +0,0 @@
1
- import { DataSource } from "./DataSource";
2
- export type EditModeLayoutsStatus = "ready" | "unavailable" | "restricted";
3
- export interface EditModeLayout {
4
- /** Native one-based index. Deleting another layout can change this number. */
5
- readonly index: number;
6
- readonly name: string;
7
- readonly type: number;
8
- readonly interfaceStyle?: number;
9
- /** Derived from native type, interface style and name; changes on rename. */
10
- readonly key: string;
11
- }
12
- export interface EditModeLayoutSnapshot {
13
- readonly layouts: readonly EditModeLayout[];
14
- readonly active?: EditModeLayout;
15
- }
16
- /** Read-only native Edit Mode layouts, refreshed by events without polling. */
17
- export declare class EditModeLayouts extends DataSource<EditModeLayoutSnapshot> {
18
- private snapshot;
19
- private status;
20
- private readonly listeners;
21
- private readonly frame;
22
- private disposed;
23
- protected constructor();
24
- get Status(): EditModeLayoutsStatus;
25
- get Layouts(): readonly EditModeLayout[];
26
- get Active(): EditModeLayout | undefined;
27
- protected HasSecretFields(): boolean;
28
- protected GetValue(): EditModeLayoutSnapshot;
29
- /** No initial emission. Availability changes also notify observers. */
30
- onChange(listener: (value: EditModeLayoutSnapshot) => void): () => void;
31
- private Refresh;
32
- Dispose(): void;
33
- }