import type { NativePortablePhase, NativePortableSpecChange, NativePortableState, NativePortableWorkspace, NativeSupervisorCoordinationMode } from './native-portable-types.js'; import type { CometProjectConfig, NativeArtifactValidation, NativeFinding, NativeProjectPaths } from './native-types.js'; import type { NativeWorkspaceBinding } from './native-workspace.js'; export declare const NATIVE_PORTABLE_BRIEF_TEMPLATE: string; export declare function formatNativeDocumentConstraintFindings(findings: readonly NativeFinding[], options: { change: string; phase: NativePortablePhase; }): string; export declare function validateNativePortableDocuments(options: { paths: NativeProjectPaths; state: NativePortableState; specChanges?: readonly NativePortableSpecChange[]; }): Promise; export declare function assertNativePortableDocuments(options: { paths: NativeProjectPaths; state: NativePortableState; specChanges?: readonly NativePortableSpecChange[]; }): Promise; export type NativePortableExpectedContinuationAction = 'prepare-shape-confirmation' | 'confirm-shape' | 'accept-result' | 'confirm-verifier-unavailable' | 'revise-implementation' | 'revise-requirements' | 'retry-verifier' | 'continue-builder' | 'resolve-verifier-blocker' | 'disassociate-capability'; export interface NativePortableExpectedContinuation { stateVersion: number; action: NativePortableExpectedContinuationAction; } export declare function assertNativePortableExpectedContinuationLocked(options: { state: NativePortableState; expected?: NativePortableExpectedContinuation; action: NativePortableExpectedContinuationAction; }): void; export declare function createNativePortableChange(options: { paths: NativeProjectPaths; name: string; language: 'en' | 'zh-CN'; workspaceBinding?: NativeWorkspaceBinding; initialProjectConfig?: CometProjectConfig; now?: Date; }): Promise; export declare function discoverNativePortableSpecChanges(options: { paths: NativeProjectPaths; state: NativePortableState; }): Promise; export declare function readNativePortableAcceptance(options: { paths: NativeProjectPaths; state: NativePortableState; specChanges: readonly NativePortableSpecChange[]; /** 只在完整批准指纹仍可验证时核对旧验收快照。 */ legacyBriefBoundaries?: boolean; /** Internal verification of original bytes, never a baseline inferred from changed files. */ artifactTexts?: ReadonlyMap; legacyOnly?: boolean; }): Promise<{ acceptance: import('./native-portable-acceptance.js').NativePortableAcceptanceCriterion[]; formalHash?: string; approvedLegacyAcceptance?: import('./native-portable-acceptance.js').NativePortableAcceptanceCriterion[]; }>; export declare function prepareNativePortableShapeConfirmation(options: { paths: NativeProjectPaths; name: string; coordinationMode?: NativeSupervisorCoordinationMode; expectedContinuation?: NativePortableExpectedContinuation; enforceDocumentConstraints?: boolean; }): Promise; export declare function recoverNativePortableShapeConfirmationDrift(options: { paths: NativeProjectPaths; name: string; }): Promise<{ state: NativePortableState; repaired: boolean; reason: string | null; }>; /** Only link destinations may change; prose, examples and acceptance remain confirmed. */ export declare function syncNativePortableSpecReferences(options: { paths: NativeProjectPaths; name: string; capability: string; reason: string; actor: string; expectedStateVersion: number; affectedAcceptanceIds: string[]; replacements: Array<{ from: string; to: string; }>; }): Promise; export declare function markNativePortableSpecRemoval(options: { paths: NativeProjectPaths; name: string; capability: string; }): Promise; /** Revoke a capability association through Runtime and invalidate its confirmation. */ export declare function disassociateNativePortableCapability(options: { paths: NativeProjectPaths; name: string; expectedContinuation: NativePortableExpectedContinuation; }): Promise; export declare function setNativePortableWorkspaceFinish(options: { paths: NativeProjectPaths; name: string; finish: NonNullable; expectedStateVersion?: number; }): Promise; export declare function returnNativePortableChangeToShape(options: { paths: NativeProjectPaths; name: string; reason: string; allowedPhases?: readonly NativePortablePhase[]; expectedContinuation?: NativePortableExpectedContinuation; keepFailureBudget?: boolean; }): Promise; export declare function returnNativePortableStateToShapeLocked(options: { paths: NativeProjectPaths; state: NativePortableState; reason: string; keepFailureBudget?: boolean; }): Promise; //# sourceMappingURL=native-portable-requirements.d.ts.map