import * as winston from "winston"; export declare namespace Security { /** * Creates a unique snowflake */ function snowflake(): Promise; /** * Creates a secure random string of a given length * @param length the length */ function random(length: number): Promise; } export declare namespace Miscellaneous { /** * Returns an object with a promise and a callback */ function callbackPromise(): { cb: () => void; promise: Promise; }; function sortNumbersInObject(obj: { [key: string]: number; }): [string, number][]; } export declare const Logger: winston.LoggerInstance; /** * Computes the inheritence-based role list */ export declare function calculateInclusiveRoles(): { moderator: string[]; admin: string[]; root: string[]; };