/** * @fileoverview Per-RunScope graph recipe registry. * * Mirrors `GraphRulesRegistry` (`rules/registry.ts`): a per-`RunScope` * registry, seeded with the built-in recipes at construction, read via a * `currentGraphRecipes()` helper that resolves `currentScope()?.graph?.recipes` * with the same not-found guards the rule registry uses. Built on core's * generic `RecipeRegistry` base. * * No module-singletons: the graph tool's `contributeScope` hook constructs * a fresh registry per CLI invocation via `createRecipeRegistry()` and * attaches it to `scope.graph.recipes`. */ import { RecipeRegistry } from '@opensip-cli/core'; import type { GraphRecipe } from './types.js'; /** Per-RunScope recipe registry, seeded with the built-in graph recipes. */ export declare class GraphRecipeRegistry extends RecipeRegistry { constructor(); } /** Factory used by the graph tool's `contributeScope` hook. */ export declare function createRecipeRegistry(): GraphRecipeRegistry; /** * Read the current scope's graph recipe registry. Throws when no scope is * active or when the graph subscope is missing — same guards as * `currentRules()`. * * @throws {Error} When called outside `runWithScope(...)`, or when the * active scope has no graph subscope. */ export declare function currentGraphRecipes(): GraphRecipeRegistry; //# sourceMappingURL=registry.d.ts.map