import { IRedisClient } from '../interfaces/redis-client'; export type RedisCommandArgument = string | Buffer; export interface BunRedisRawClient { connected: boolean; url?: string; onconnect?: ((...args: any[]) => void) | null; onclose?: ((...args: any[]) => void) | null; onerror?: ((...args: any[]) => void) | null; 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;