import type { TwinStream } from '../twin-fetch.js'; import { type RedisDialect, type RunItem } from './engine.js'; export type RedisStreamOptions = { dialect: RedisDialect; version: string; password?: string; databases: number; run(commands: string[][], database: string): Promise<{ items: RunItem[]; wrote: boolean; instant?: number; touched?: string[]; }>; }; export declare function createRedisStream(given: RedisStreamOptions): TwinStream;