import { WorkflowRunActivity } from '../models/WorkflowRunActivity.js'; import { DatabaseService } from '../services/Database.service.js'; import type { JSONCodecReadSecretOptions } from '../tools/json-codec.js'; export declare class WorkflowRunActivityRepository { private readonly database; constructor(database: DatabaseService); private get db(); create(activity: WorkflowRunActivity): Promise; findById(id: string, options?: JSONCodecReadSecretOptions): Promise; findByRunId(runId: string): Promise; findPageByRunId(runId: string, { limit, offset }?: { limit?: number; offset?: number; }): Promise<{ count: number; activities: WorkflowRunActivity[]; }>; countByRunId(runId: string): number; complete(id: string, output: unknown): Promise; fail(id: string, output?: unknown): Promise; private toModel; }