import type { Octokit } from "@octokit/rest"; import type { Config, CycleResult } from "../types/index.js"; import { type StateStore } from "./state.js"; export type LoopContext = { octokit: Octokit; config: Config; owner: string; repo: string; prNumber: number; cwd: string; }; export type CycleContext = LoopContext & { stateStore: StateStore; }; export declare const runCycle: (ctx: CycleContext) => Promise; export type WatchOptions = { maxCycles?: number; pollIntervalMs?: number; waitForComments?: boolean; onCycleComplete?: (result: CycleResult, cycleNumber: number) => void; }; export declare const runLoop: (ctx: LoopContext, options?: WatchOptions) => Promise; export declare const runSingleCycle: (ctx: LoopContext) => Promise; //# sourceMappingURL=loop.d.ts.map