import { type NativeBuilderAcceptanceReview } from './native-builder-acceptance-review.js'; import type { NativeBuilderCheckSummary, NativePortableAcceptanceState, NativePortableState } from './native-portable-types.js'; import { type NativeTrustedExecutionIdentity, type NativeTrustedVerifierEnvelope } from './native-runner-protocol.js'; import { type NativeVerifierResponse } from './native-verifier-protocol.js'; export declare const NATIVE_MAX_VERIFIER_EXECUTION_FAILURES = 3; export interface NativeBuilderCandidateInput { identity: NativeTrustedExecutionIdentity; summary: string; addressedAcceptanceIds: string[]; acceptanceReview?: NativeBuilderAcceptanceReview[]; checks?: Array<{ name: string; result: NativeBuilderCheckSummary['result']; note?: string | null; acceptanceIds?: string[]; reason?: string; }>; knownLimits?: string[]; review?: { status: 'passed'; summary: string; reviewerExecutionRef: string; } | null; candidateId?: string; now?: Date; } export declare function confirmNativePortableAcceptance(options: { state: NativePortableState; acceptance: Array>; }): NativePortableState; export declare function prepareNativePortableShapeConfirmation(options: { state: NativePortableState; acceptance: Array>; }): NativePortableState; export declare function submitNativeBuilderCandidate(options: { state: NativePortableState; input: NativeBuilderCandidateInput; requireAcceptanceReview?: boolean; }): NativePortableState; export declare function reserveNativeVerifierAttempt(stateInput: NativePortableState): NativePortableState; export declare function applyNativeVerifierEnvelope(options: { state: NativePortableState; requireIndependentSession?: boolean; envelope: NativeTrustedVerifierEnvelope | unknown; reportedChecks?: NativeBuilderCheckSummary[]; maxVerifyFailures: number; now?: Date; }): { state: NativePortableState; response: NativeVerifierResponse; }; export declare function confirmNativeSkillCoordinatedPass(stateInput: NativePortableState): NativePortableState; export declare function recordNativeVerifierUnavailable(options: { state: NativePortableState; verifierExecutionRef: string; summary: string; now?: Date; }): NativePortableState; export declare function confirmNativeVerifierUnavailable(options: { state: NativePortableState; summary: string; now?: Date; }): NativePortableState; export declare function resolveNativeVerifierBlocker(stateInput: NativePortableState, options?: { reason?: string; now?: Date; }): NativePortableState; export declare function recordNativeVerifierExecutionError(options: { state: NativePortableState; summary: string; now?: Date; }): NativePortableState; export declare function retryNativeVerifier(stateInput: NativePortableState): NativePortableState; export declare function returnNativeCandidateToBuild(options: { state: NativePortableState; reason: string; now?: Date; /** * Count this return against the failed-iteration budget (issue #439 follow-up: * Builder-handoff Runtime check failures previously bypassed the budget and * could loop forever). When the budget is exhausted the candidate stays in * Verify with an await-user blocker instead of silently returning to Build. */ failureBudget?: { maxVerifyFailures: number; }; }): NativePortableState; //# sourceMappingURL=native-loop-runtime.d.ts.map