/** * The canonical bulb block registry — the single source of truth for what blocks a bulb has, * their filenames, and their languages. Both the typebulb CLI and the typebulb.com editor derive * their block handling from this; the editor extends each entry with its own presentation fields. * * `server.ts` is intentionally not here: it is a CLI-only block (local Node code), owned by the CLI. */ export type SubscriptKind = 'code' | 'css' | 'html' | 'config' | 'notes' | 'data' | 'infer' | 'insight'; export type SubscriptPath = 'code.tsx' | 'index.html' | 'styles.css' | 'config.json' | 'notes.md' | 'data.txt' | 'infer.md' | 'insight.json'; export interface BlockSpec { path: SubscriptPath; language: string; } export declare const blocks: Record; /** Block order as serialized in a `.bulb.md` file. */ export declare const orderedKinds: SubscriptKind[]; /** Look up the kind that owns a given filename (e.g. `code.tsx` → `code`). */ export declare function kindFromPath(path: string): SubscriptKind | undefined; /** Bulb file format identifier (YAML frontmatter `format:`) and file extension. */ export declare const BULB_FORMAT = "typebulb/v1"; export declare const BULB_EXT = ".bulb.md"; /** A bulb's frontmatter `format:` value is recognised iff it starts with `typebulb`. */ export declare function isBulbFormat(format: string | undefined): boolean; //# sourceMappingURL=registry.d.ts.map