/** * Component Integration Module * * Bridges the native-ui component library to the kernel by providing: * - A frozen manifest of all component descriptors (tags, metadata, events) * - registerAll() to batch-register components through the kernel * - installEventBridge() to wire DOM events to the command bus * - Lookup helpers for querying descriptors by tag or category */ import type { Kernel } from './kernel.ts'; import type { Dispose } from '@nonoun/native-core'; export interface ComponentDescriptor { readonly tag: string; readonly module: string; readonly formAssociated: boolean; readonly events: readonly string[]; readonly category: 'form' | 'display' | 'navigation' | 'overlay' | 'container' | 'layout'; } export declare const COMPONENT_MANIFEST: readonly ComponentDescriptor[]; export declare function getDescriptor(tag: string): ComponentDescriptor | undefined; export declare function getDescriptorsByCategory(category: ComponentDescriptor['category']): readonly ComponentDescriptor[]; export declare function registerAll(kernel: Kernel, classes: ReadonlyMap, options?: { readonly exclude?: readonly string[]; }): number; export declare function installEventBridge(kernel: Kernel, root?: HTMLElement): Dispose; //# sourceMappingURL=components.d.ts.map