trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
18 lines • 602 B
TypeScript
/**
* Catalog Cache — Stores generated json-render catalogs keyed by BrandGuide ID.
*
* Invalidation is event-driven: the plugin clears the cache when
* DesignToken or BrandGuide entities are created, updated, or deleted.
*
* @module trellis/plugins/brand
*/
export declare class CatalogCache {
private store;
get(brandGuideId: string): unknown | undefined;
set(brandGuideId: string, catalog: unknown): void;
invalidate(brandGuideId: string): void;
invalidateAll(): void;
has(brandGuideId: string): boolean;
get size(): number;
}
//# sourceMappingURL=cache.d.ts.map