import type { ModuleCommandResult, ModuleLifecycleContext } from "../../../contracts/module-contract.js";
import type { PlanningStateEventV1 } from "../task-state-events/planning-event-payloads.js";
import type { OpenedPlanningStores } from "./planning-open.js";
import type { TaskStore } from "./store.js";
export declare function commitCanonicalPlanningEvents(input: {
    ctx: ModuleLifecycleContext;
    store: TaskStore;
    planning: OpenedPlanningStores;
    events: PlanningStateEventV1[];
    policyApproval?: {
        confirmed: boolean;
        rationale: string;
    };
}): Promise<ModuleCommandResult | null>;
