-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.lua
80 lines (61 loc) · 1.57 KB
/
types.lua
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
--- @meta
snowcone = {}
--- @param label string
--- @param format string
--- @param ... (string | number)
function status(label, format, ...) end
--- @class PluginManager
PluginManager = {}
--- @param name string
--- @param ext string
--- @return string
function PluginManager:plugin_path(name, ext) return "" end
plugin_manager = PluginManager
myopenssl = {}
--- @param base64 string
--- @return string
function myopenssl.from_base64(base64) return "" end
--- @class (exact) IrcState
--- @field phase string
--- @field nick string?
IrcState = {
phase = "",
nick = "",
}
--- @param name string
--- @return table | nil
function IrcState:get_channel(name) return {} end
--- @type IrcState
irc_state = IrcState
--- @type table<any, string>
background_resources = {}
--- @class (exact) Irc: string[]
--- @field nick string
--- @field user string
--- @field host string
--- @field command string
--- @field tags table<string, string|true>
--- @field source string?
Irc = {}
--- @class Project
--- @field authorized table<string, true>
--- @field events table<string, true>
--- @field channel string
--- @field push_limit integer
Project = {}
--- @class (exact) Configuration
--- @field port integer
--- @field credentials table<string, string>
--- @field debug boolean
--- @field projects table<string, Project>
--- @field mutes table<integer, table>
--- @field next_mute integer
Configuration = {}
--- @class Window
Window = {}
--- @param ... (string|number)
function Window:waddstr(...) end
--- @param win Window
function blue(win) end
--- @param win Window
function normal(win) end