import { AbstractNodeCode } from '../../node-code/abstract-node-code.js'; import type { ConfigurationDescription } from '../../configuration/configuration-description.js'; import type { Context } from '../../context/context.js'; import type { Result } from '../../result/result.js'; /** * Pluggable key-value store interface. * Consumers provide implementations (Redis, etc.). */ export interface KeyValueStore { set(key: string, value: string, ttlSeconds?: number): Promise; get(key: string): Promise; } /** * Writes a context value to a key-value store via pluggable KeyValueStore. */ export declare class WriteToRedisNodeCode extends AbstractNodeCode { static readonly configDescriptions: ConfigurationDescription[]; private store?; constructor(store?: KeyValueStore); setStore(store: KeyValueStore): void; process(context: Context): Promise; } //# sourceMappingURL=write-to-redis-node-code.d.ts.map