UNPKG

histoire

Version:

A fast story book powered by Vite

14 lines • 931 B
import type { Context } from '../../context.js'; import type { MarketplaceRegistrar } from '../channel.js'; import type { PlannerOptions } from './planner.js'; /** Retrieves one generation's planner; target resolvers must remain read-only. */ export declare function getPlanStore(ctx: Context, resolvePlugin?: PlannerOptions['resolvePlugin']): { planChange: (request: import("@histoire/shared").ChangeRequest) => Promise<import("./planner.js").PlannedChange>; checkPlan: (planId: string, hash: string) => void; plan(request: import("@histoire/shared").ChangeRequest): Promise<import("@histoire/shared").ChangePlan>; verifyPlan(planId: string, hash: string): Promise<import("./planner.js").PlannedChange>; clear(): void; }; /** Registers private correlated plans and retires their capabilities on cleanup. */ export declare const registerPlanHandlers: MarketplaceRegistrar; //# sourceMappingURL=handlers.d.ts.map