import { RedisClient } from './connection';
import { QueueBaseOptions } from './queue-options';
import { KeysMap } from '../classes/queue-keys';
import { DatabaseType } from '../types/database-type';
export interface ScriptQueueContext {
    opts: QueueBaseOptions;
    toKey: (type: string) => string;
    keys: KeysMap;
    closing: Promise<void> | undefined;
    /**
     * Returns a promise that resolves to a redis client. Normally used only by subclasses.
     */
    get client(): Promise<RedisClient>;
    /**
     * Returns the database type of the Redis instance the client is connected to,
     */
    get databaseType(): DatabaseType;
    /**
     * Returns the version of the Redis instance the client is connected to,
     */
    get redisVersion(): string;
}
