import { WorkflowsStorage } from '@mastra/core/storage'; import type { StorageListWorkflowRunsInput, WorkflowRun, WorkflowRuns, UpdateWorkflowStateOptions } from '@mastra/core/storage'; import type { StepResult, WorkflowRunState } from '@mastra/core/workflows'; import type { RedisDomainConfig } from '../../db/index.js'; export declare class WorkflowsRedis extends WorkflowsStorage { private client; private db; constructor(config: RedisDomainConfig); supportsConcurrentUpdates(): boolean; dangerouslyClearAll(): Promise; updateWorkflowResults({ workflowName, runId, stepId, result, requestContext, }: { workflowName: string; runId: string; stepId: string; result: StepResult; requestContext: Record; }): Promise>>; updateWorkflowState({ workflowName, runId, opts, }: { workflowName: string; runId: string; opts: UpdateWorkflowStateOptions; }): Promise; persistWorkflowSnapshot(params: { namespace?: string; workflowName: string; runId: string; resourceId?: string; snapshot: WorkflowRunState; createdAt?: Date; updatedAt?: Date; }): Promise; loadWorkflowSnapshot(params: { namespace: string; workflowName: string; runId: string; }): Promise; getWorkflowRunById({ runId, workflowName, }: { runId: string; workflowName?: string; }): Promise; deleteWorkflowRunById({ runId, workflowName }: { runId: string; workflowName: string; }): Promise; listWorkflowRuns({ workflowName, fromDate, toDate, perPage, page, resourceId, status, }?: StorageListWorkflowRunsInput): Promise; } //# sourceMappingURL=index.d.ts.map