import type { ContributionStore } from "./store.js"; import type { ProjectTask } from "./tasks.js"; export interface AgentRunResult { ok: boolean; summary: string; steps?: number; tokens?: { input: number; output: number; costUsd: number | null; }; } export interface AgentRunner { runTask(task: ProjectTask): Promise; } export interface WorkerOptions { store: ContributionStore; tasks: ProjectTask[]; runner: AgentRunner; maxAttempts: number; account?: string; shouldContinue?: () => boolean; retryPassed?: boolean; } export interface WorkerAttempt { task: string; passed: boolean; summary: string; } export interface WorkerReport { attempts: WorkerAttempt[]; published: number; } export declare function runWorker(options: WorkerOptions): Promise; //# sourceMappingURL=worker.d.ts.map