1 | import * as winston from "winston";
|
2 | export declare namespace Security {
|
3 | |
4 |
|
5 |
|
6 | function snowflake(): Promise<string>;
|
7 | |
8 |
|
9 |
|
10 |
|
11 | function random(length: number): Promise<string>;
|
12 | }
|
13 | export declare namespace Miscellaneous {
|
14 | |
15 |
|
16 |
|
17 | function callbackPromise(): {
|
18 | cb: () => void;
|
19 | promise: Promise<void>;
|
20 | };
|
21 | function sortNumbersInObject(obj: {
|
22 | [key: string]: number;
|
23 | }): [string, number][];
|
24 | }
|
25 | export declare const Logger: winston.LoggerInstance;
|
26 |
|
27 |
|
28 |
|
29 | export declare function calculateInclusiveRoles(): {
|
30 | moderator: string[];
|
31 | admin: string[];
|
32 | root: string[];
|
33 | };
|