import type { ChangeRequest } from '@histoire/shared';
import type { PlannedChange, PlannerOptions } from './planner.js';
export type { PlannedChange, PlannerOptions, PlanningPlugin } from './planner.js';
export { PlanningError } from './planner.js';
/** Owns bounded review capabilities for exactly one dev-server generation. */
export declare function createPlanStore(options: PlannerOptions): {
    planChange: (request: ChangeRequest) => Promise<PlannedChange>;
    checkPlan: (planId: string, hash: string) => void;
    /** Stores a read-only plan; caller mutation cannot alter later admission. */
    plan(request: ChangeRequest): Promise<import("@histoire/shared").ChangePlan>;
    /** Recomputes from disk and metadata before granting private execution input. */
    verifyPlan(planId: string, hash: string): Promise<PlannedChange>;
    /** Retires every capability when its runtime generation closes. */
    clear(): void;
};
//# sourceMappingURL=plan-store.d.ts.map