import type { ModuleCommandResult, ModuleLifecycleContext } from "../../../contracts/module-contract.js";
import type { TaskEntity } from "../types.js";
import type { OpenedPlanningStores } from "./planning-open.js";
import type { TaskStore } from "./store.js";
export declare function finalizeCanonicalCreateTask(input: {
    ctx: ModuleLifecycleContext;
    store: TaskStore;
    planning: OpenedPlanningStores;
    task: TaskEntity;
    commandName: string;
    clientMutationId?: string;
    actor?: string;
    policyApproval?: {
        confirmed: boolean;
        rationale: string;
    };
}): Promise<ModuleCommandResult | null>;
export declare function finalizeCanonicalUpdateTask(input: {
    ctx: ModuleLifecycleContext;
    store: TaskStore;
    planning: OpenedPlanningStores;
    task: TaskEntity;
    changedFields: string[];
    commandName: string;
    clientMutationId?: string;
    actor?: string;
    policyApproval?: {
        confirmed: boolean;
        rationale: string;
    };
}): Promise<ModuleCommandResult | null>;
