import { RedisResourceBase } from '@struktoai/mirage-core/resource/redis/redis'; import type { RedisClientType } from 'redis'; import { RedisStore } from './store.ts'; export type { RedisResourceState } from '@struktoai/mirage-core/resource/redis/redis'; export interface RedisResourceOptions { url?: string; keyPrefix?: string; } export interface RedisModule { createClient: (options: { url: string; }) => RedisClientType; RESP_TYPES: { readonly BLOB_STRING: number; }; } /** * The node redis mount: the shared resource over a RESP client. * * Everything filesystem-shaped lives in core's `RedisResourceBase`; this class * only knows how to reach a server from a redis URL and hands the raw client * to the subclasses that need one, such as the file cache. */ export declare class RedisResource extends RedisResourceBase { readonly store: RedisStore; constructor(options?: RedisResourceOptions); client(): Promise; protected module(): Promise; } //# sourceMappingURL=redis.d.ts.map