/** * @fileoverview Graph report-data catalog builders. * * Mirrors fitness's `collectFitnessReportData` (`fitness/.../cli/report-data.ts`): * graph contributes a rule catalog + recipe catalog the dashboard renders on * the Code Paths tab (Catalog + Recipes subtabs). These entry types are graph * domain vocabulary, so they live here; the dashboard consumes them * structurally via `DashboardInput` (typed `readonly unknown[]`) — the same * opaque-payload model the fitness catalogs use, keeping `@opensip-cli/dashboard` * decoupled from `@opensip-cli/graph`. * * **Distinct keys.** Graph contributes `graphRuleCatalog` / `graphRecipeCatalog` * — NOT `checkCatalog` / `recipeCatalog`, which are fitness-owned globals the * CLI merges via `Object.assign`. Reusing those keys would clobber fitness. */ import type { ToolScope } from '@opensip-cli/core'; /** Rule catalog entry for dashboard display. */ export interface GraphRuleCatalogEntry { readonly slug: string; readonly defaultSeverity: 'error' | 'warning'; readonly source: 'built-in'; } /** Recipe catalog entry for dashboard display. */ export interface GraphRecipeCatalogEntry { readonly name: string; readonly displayName: string; readonly description: string; readonly tags: readonly string[]; readonly selectorType: string; } /** * Build the rule catalog from the scope's rule registry. Built-in graph * rules are first-party, so `source` is hardcoded `'built-in'` for now — * graph has no community-rule namespace registry yet (documented; a richer * display can land with Plan D rules). Returns `[]` when the graph subscope * is absent. */ export declare function buildGraphRuleCatalog(scope: ToolScope): GraphRuleCatalogEntry[]; /** * Build the recipe catalog from the scope's recipe registry. Graph recipes * carry no execution block, so the entry has no `mode`/`timeout` (unlike * fitness's `RecipeCatalogEntry`). Returns `[]` when the graph subscope is * absent. */ export declare function buildGraphRecipeCatalog(scope: ToolScope): GraphRecipeCatalogEntry[]; //# sourceMappingURL=report-data.d.ts.map