/// import * as Discord from "db-discord-discord.js"; export declare function login(token: string): Promise; export declare function httpRequest(url: string): Promise; export declare function httpRequestAsBuffer(url: string): Promise; export declare type Regexify = { [P in keyof T]: RegExp; }; export declare function recursiveSearch(channel: Discord.TextChannel, searchTerm: string, testerFunction: ((obj: T) => boolean) | undefined, shouldAddFunction: ((obj: T) => boolean) | undefined, converter: (message: Discord.Message) => Promise): Promise[]>; export declare function betterSearch(channel: Discord.TextChannel, converter: (message: Discord.Message) => Promise, _searchTerm: Partial | string, regex?: Partial>, callback?: (message: T) => boolean): Promise[]>; export interface KeyPairValue { Key: K; Value: P; } export declare function flatMap(arr: T[][]): T[]; export declare function GUID(): string; export declare function isAlphanumerical(str: string): boolean[]; export declare function replaceCharacters(str: string, replacers: boolean[], replacement: string): string; export declare function removeUnacceptedCharactersForDiscord(str: string): string; export declare function sleep(ms: number): Promise<{}>;