import { NamespaceStore } from '@struktoai/mirage-core/workspace/mount/namespace/store'; import type { NodeFields } from '@struktoai/mirage-core/workspace/mount/namespace/store'; export interface RedisNamespaceStoreOptions { url?: string; keyPrefix?: string; } /** * NamespaceStore backed by one Redis hash (path -> JSON fields). * * Symlinks and attribute overlays survive process restarts and are visible * to any workspace pointed at the same key prefix. Writes are * single-command (HSET/HDEL) so mutations stay one round trip. Mirrors the * Python RedisNamespaceStore. */ export declare class RedisNamespaceStore extends NamespaceStore { readonly url: string; private readonly key; private readonly userKey; private clientPromise; constructor(options?: RedisNamespaceStoreOptions); private client; load(): Promise>; set(path: string, fields: NodeFields): Promise; delete(paths: readonly string[]): Promise; replaceAll(entries: Map): Promise; loadUser(): Promise; setUser(user: string): Promise; clear(): Promise; close(): Promise; } //# sourceMappingURL=redis.d.ts.map