/** * Redis Storage Implementation * * This file implements the Storage interface using Redis data structures: * - Runs: Hash for document, Sorted Sets for indexes * - Steps: Hash with composite key, Sorted Set index by runId * - Events: Sorted Set with ULID scores for ordering * - Hooks: Hash with token lookup key */ import type { Storage } from '@workflow/world'; import type { Redis } from 'ioredis'; /** * Configuration for Redis storage. */ export interface RedisStorageConfig { /** * Key prefix for all Redis keys. * Default: 'workflow' */ keyPrefix?: string; } /** * Creates the Storage implementation for Redis. */ export declare function createStorage(options: { redis: Redis; config?: RedisStorageConfig; }): Promise<{ storage: Storage; }>; //# sourceMappingURL=storage.d.ts.map