import { IRedisClient } from '../interfaces/redis-client'; export type RedisCommandArgument = string | Buffer; export interface BunRedisRawClient { connected: boolean; url?: string; onconnect?: () => void; onclose?: (error?: Error) => void; onerror?: (error?: Error) => void; connect(): Promise; close(): void; send(command: string, args: RedisCommandArgument[]): Promise; get(key: string): Promise; smembers(key: string): Promise; incr(key: string): Promise; } export declare function createBunRedisClient(client: TClient, opts?: { lazyConnect?: boolean; }): IRedisClient;