/// import { EventEmitter } from 'events'; import { QueueBaseOptions } from '../interfaces'; import { RedisClient, RedisConnection } from './redis-connection'; import { KeysMap } from './queue-keys'; export declare class QueueBase extends EventEmitter { readonly name: string; opts: QueueBaseOptions; toKey: (type: string) => string; keys: KeysMap; closing: Promise; protected connection: RedisConnection; constructor(name: string, opts?: QueueBaseOptions); get client(): Promise; get redisVersion(): string; emit(event: string | symbol, ...args: any[]): boolean; waitUntilReady(): Promise; protected base64Name(): string; protected clientName(): string; close(): Promise; disconnect(): Promise; }