import { type PrepareRefineResult, type VerifyRefineResult } from "../agent/refine.ts"; import { type ChangeResultRecord } from "../engine/contracts.ts"; import { type CommandResult } from "./types.ts"; import type { JevTransport } from "../agent/jev/types.ts"; export declare function refineAmend(opts: { site?: string; requestId: string; scope: string; reason: string; dryRun?: boolean; }): Promise; export type RefineOptions = { site?: string; request: string; scope?: string; evidence?: string; dryRun?: boolean; signal?: AbortSignal; onLog?: (line: string) => void; workflowArgv?: string[]; jevFetch?: JevTransport; }; export declare function refineSite(opts: RefineOptions): Promise>; export type RefinePrepareOptions = { site?: string; request: string; scope?: string; requestId?: string; planFile?: string; dryRun?: boolean; }; export declare function refinePrepare(opts: RefinePrepareOptions): Promise>; export type RefineVerifyOptions = { site?: string; requestId?: string; dryRun?: boolean; }; export declare function refineVerify(opts: RefineVerifyOptions): Promise>;