import type { WorkflowRun, StepState, WorkflowRunService } from '@pikku/core/workflow'; import type { Redis } from 'ioredis'; export declare class RedisWorkflowRunService implements WorkflowRunService { private redis; private keyPrefix; constructor(redis: Redis, keyPrefix?: string); private runKey; private stepKeyPattern; private stepHistoryKey; private versionKey; listRuns(options?: { workflowName?: string; status?: string; limit?: number; offset?: number; }): Promise; getRun(id: string): Promise; getRunSteps(runId: string): Promise>; getRunHistory(runId: string): Promise>; getDistinctWorkflowNames(): Promise; getWorkflowVersion(name: string, graphHash: string): Promise<{ graph: any; source: string; } | null>; deleteRun(id: string): Promise; private mapRunData; private extractStepName; private scanKeys; }