/** * Client for the Storybook 10.x AI-ready manifests published per version * under the Dynamic Framework CDN at * `cdn.dynamicframework.dev/assets//ui-react/manifests/`. * * Two artifacts per version: * - `components.json` — component catalog with stories, props, JSDoc. * - `docs.json` — MDX content of every documentation/pattern story. * * The version consumed is always `WIDGETS_COMPAT.dynamicUi`. The operator * does not choose it — the producer (this MCP) declares the matrix. * * Unlike {@link StorybookClient} (which uses manifest.json discovery for * api.json), the Storybook manifests live at a fixed versioned path. There * is no separate registry — the version pin alone determines the URL. * * Wraps {@link FetchClient} to inherit retry-with-backoff (429/503/504), * timeout, and debug logging with auth-header redact. In-memory TTL cache * (5 min) per artifact — the assets are immutable per version on the CDN * side, but the cache exists to keep tool invocations under the same * session fast. * * HTTP 403/404 are mapped to actionable errors (the version predates * manifests CDN publishing, or has not been backfilled yet). */ import type { ComponentManifest, DocsManifest } from "./storybookManifestTypes.js"; export declare class StorybookManifestClient { private cdnBaseUrl; private fetchClient; private componentsCache; private docsCache; constructor(); private isCacheValid; getVersion(): string; getComponentsUrl(): string; getDocsUrl(): string; getComponents(): Promise; getDocs(): Promise; private fetchManifest; } export declare const storybookManifestClient: StorybookManifestClient; //# sourceMappingURL=storybookManifestClient.d.ts.map