import type { WorkflowRun, StepState, WorkflowRunService } from '@pikku/core/workflow'; import type { Kysely } from 'kysely'; import type { KyselyPikkuDB } from './kysely-tables.js'; export declare class KyselyWorkflowRunService implements WorkflowRunService { private db; constructor(db: Kysely); 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 mapRunRow; }