import { Collection } from 'discord.js'; import Connection, { Endpoint } from './Connection'; export declare type YAMLConnections = { [name: string]: Endpoint[] | string; }; export default class ConnectionsManager extends Collection { load(): Promise; static validateEndpoints(endpoints: Endpoint[]): Promise; static createAutomaticDiscordChannel(threadID: string, name: string): Promise; getWithCreateFallback(threadID: string, name: string): Promise; getWith(id: string): Connection; hasWith(id: string): boolean; get(name: string): Connection; hasEndpoint(id: string): boolean; save(): Promise; }