/** The `startOrg` option the harness passes for a sections definition. */ export interface EvalGateOptions { evalGate?: boolean; } /** `closedBy` of a sections org whose coordinator crashed: the trial attempt * ends as a failure instead of restarting (spec 9.2). */ export declare const EVAL_BOSS_CRASH_CLOSED_BY = "eval-boss-crash"; export declare function evalGateRefusal(name: string): string; /** A sections org that still declares `run_config.experimental: "eval"`: the only kind the eval gate * restricts. Since general availability a sections org without it starts like any other org. */ export declare function isEvalMode(def: { sections?: unknown; run_config?: unknown; } | undefined): boolean; /** Throws unless `def` is not an eval-mode org or the caller passed the gate. */ export declare function assertEvalGate(def: { sections?: unknown; run_config?: unknown; }, name: string, options: EvalGateOptions | undefined): void; /** The refusal `org run` prints for a sections org, read from the definition * file before it hands the start to a serve daemon or a local one; undefined * for any other org (or an unreadable file, which later steps report). */ export declare function sectionsOrgRefusal(orgsDir: string, name: string): string | undefined; /** The option fragment a harness spreads into `startOrg`'s options: the gate for * a sections definition, nothing for any other. */ export declare function evalGateFor(def: { sections?: unknown; } | undefined): EvalGateOptions; //# sourceMappingURL=eval-gate.d.ts.map