import { type Json, type Target } from "./protocol.js";
import type { TurnRecord } from "./turn-records.js";
import { type Integrator, type PullRequest } from "./return-contract.js";
export { integratorSchema, prsSchema, pullRequestSchema } from "./return-contract.js";
/** The worker reports PR evidence to its own Hook, without direct messaging or
 * GitHub comments. Bound to this terminal and submitted turn, not the next one. */
export declare function reportWorker(input: unknown): Promise<Json>;
export declare function workerPrs(target: Target, record: TurnRecord): Promise<PullRequest[] | undefined>;
export declare function readIntegrator(): Promise<Integrator | undefined>;
export declare function setIntegrator(input: unknown): Promise<Json>;
