/**
 * The verification gate's reading of whether its verifier judged on a model other than the one that made the work.
 *
 * The gate exists because a model grading its own work confirms its own blind spots, so the verifier is meant to be a different model
 * than the implementer. The engine cannot assert that when the roles are built (an unset `verifier` role falls back to the main model,
 * and a tier default or a `verifierModel` can name the same entry as well), so the gate reads it where it is known: off the two legs'
 * resolved ids (`TaskResult.model`, the engine-selected `Model.id`), after the verifier leg has run. One reading, one place, whatever
 * route led to the same model.
 */
import type { EngineNotice } from "../core/engine-notice.js";
import type { TaskResult } from "../core/types.js";
/** The notice code of the "same model" reading. */
export declare const VERIFIER_IS_IMPLEMENTER = "verify.verifier_is_implementer";
/** The seat that produced the verifier leg's model: the call's `verifierModel`, or the `verifier` role. */
export type VerifierSeat = "verifierModel" | "roles.verifier";
/** One reading: whether the verifier leg's model differs from the judged leg's, and the verifier leg's own id (the shared one when it does not). */
export interface IndependenceReading {
    independent: boolean;
    model: string;
}
/**
 * Whether the two legs resolved to different model ids; `undefined` when either id is not known (that is "cannot say", never
 * "independent"). Mid-run degradation is not read: the ids compared are the ones each leg was selected on.
 */
export declare function readIndependence(judged: Pick<TaskResult, "model">, verifier: Pick<TaskResult, "model">): IndependenceReading | undefined;
/** The notice for a verifier that ran on the implementer's model. `sessionId` is the implementation's session; empty ⇒ none to attribute. */
export declare function verifierIsImplementerNotice(input: {
    model: string;
    verifierSeat: VerifierSeat;
    sessionId: string;
}): EngineNotice;
