/** * The component reference: the other half of the read-only `/host` mount. The * briefing pack names every host component in one line apiece; this answers * "exactly how do I write it?" — one file per catalog entry with the whole * description, the props schema and the entry's own examples. * * Same shape as `./skills.ts`: a PURE function of the normalized catalog, * recomputed per turn, so a component the host stopped registering is simply gone * the next turn — nothing to migrate, invalidate, or erase. */ import type { NormalizedCatalog } from "./catalog.js"; /** Build contract §3.1 — beside `/host/skills`, read-only for everyone. */ export declare const HOST_COMPONENTS_MOUNT = "/host/components"; /** * A component name is a PATH SEGMENT here and a JSX-ish element name in the * markup, so the two agree: letters, digits and "_", starting with a letter. */ export declare const SAFE_COMPONENT_NAME: RegExp; export declare const componentPath: (name: string) => string; /** * The catalog as the `/host/components` half of the host projection: path → * markdown, ready to hand to the workspace open call beside `hostSkillFiles`. */ export declare const hostComponentFiles: (catalog: NormalizedCatalog) => Record; //# sourceMappingURL=host-components.d.ts.map