import type { CacheStorage } from "@onenomad/przm-cortex-cache-sqlite"; import type { Widget } from "../types.js"; /** * Build the widget registry. ADR-019 Phase 2 wraps every widget with a * known cache profile in `WIDGET_CACHE_PROFILES`; widgets without a * profile pass through unwrapped. * * Cache injection is a parameter rather than a module-level singleton so * tests can pass `cache=undefined` and exercise the registry without * dragging the cache-sqlite package (and its `node:sqlite` import) into * the vite transform graph. Production callers pass a real cache from * server.ts startup. */ export declare function buildWidgetRegistry(cache?: CacheStorage): readonly Widget[]; /** * Default registry — used in contexts that import the widget list * statically. Always cache-less; this constant exists for back-compat * with any external import. */ export declare const ALL_WIDGETS: readonly Widget[]; export declare const WIDGETS_BY_NAME: ReadonlyMap; //# sourceMappingURL=index.d.ts.map