import "../../../agent-spawn/dist/register-factories.js";
import type { SuperintendentDoc } from "../document/parse.js";
import { type TemplateContext } from "./templates.js";
import { type WorkflowTransition } from "./workflow-tool.js";
type OwnerTransition = Extract<WorkflowTransition, {
    action: "approve_completion";
} | {
    action: "request_changes";
}>;
export type OwnerResult = {
    transition: OwnerTransition;
    log_path?: string;
};
export type RunOwnerReviewOptions = {
    defaultCwd: string;
    logPath?: string;
    signal?: AbortSignal;
};
export declare function runOwnerReview(doc: SuperintendentDoc, context: Partial<TemplateContext>, options: RunOwnerReviewOptions): Promise<OwnerResult>;
export {};
