import DexareClient from '../client'; import DataManager, { ThrottleObject } from '../dataManager'; /** Data manager in Dexare using memory. */ export default class MemoryDataManager extends DataManager { static SEPARATOR: string; /** Current throttle objects for commands, mapped by scope and ID. */ private _throttles; constructor(client: DexareClient); getThrottle(scope: string, id: string): Promise; setThrottle(scope: string, id: string, object: ThrottleObject): Promise; removeThrottle(scope: string, id: string): Promise; /** * Flushes any expired throttles. */ flushThrottles(): void; }