import type { ModuleCommandResult } from "../../contracts/module-contract.js";
import type { ModuleLifecycleContext } from "../../contracts/module-contract.js";
export type PlanArtifactAcceptIdempotencyStateV1 = {
    schemaVersion: 1;
    payloadDigest: string;
    planId: string;
    version: number;
    planRef: string;
    storagePath: string;
};
export type PlanArtifactApprovalRecordInput = {
    schemaVersion: 1;
    confirmed: boolean;
    approvedVersion: number;
    approvedAt: string;
    approvedBy: string;
    planRef: string;
    reviewSummary?: string;
    openQuestionsAccepted?: string[];
};
export declare function parsePlanArtifactApprovalRecord(raw: unknown): PlanArtifactApprovalRecordInput | null;
export declare function acceptPlanArtifactPersistDigest(planId: string, approvedVersion: number, approvalRecord: PlanArtifactApprovalRecordInput): string;
export declare function runAcceptPlanArtifact(args: Record<string, unknown>, ctx: ModuleLifecycleContext, instructionPath: string): Promise<ModuleCommandResult>;
