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.
 *
 * The pane's turn record can miss that turn: a nested agent run in the
 * worker's own pane (`claude -p` from its shell) inherits the pane's
 * variables, and its hooks replace the record with its own conversation. A
 * worker whose dispatch this Hook saw arrive in this pane and conversation
 * still reports; the evidence binds to its current turn, the one the next
 * Stop ends, and never to a prompt submitted after the report. */
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>;
