//#region src/types.d.ts /** Describes a single installable CentoUI component. */ interface ComponentRegistryEntry { /** Unique identifier for the component (e.g. `"button"`). */ name: string; /** Source file paths relative to `packages/core/src/`. */ files: Array; /** Names of other CentoUI components required by this one. */ componentDependencies?: Array; /** NPM packages required by this component. */ npmDependencies?: Record; } /** The complete CentoUI registry (`index.json`). */ interface Registry { /** NPM packages required in every CentoUI project. */ npmDependencies: Record; /** Installable components. */ components: Array; } /** User configuration stored in `centoui.config.ts`. */ interface CentoUIConfig { /** Relative path to the component installation directory. */ componentsDir: string; /** Relative path to the CSS file. */ themeFilePath: string; } /** Partial package.json structure needed by the CLI. */ interface PackageJson { dependencies?: Record; devDependencies?: Record; } //#endregion export { CentoUIConfig, ComponentRegistryEntry, PackageJson, Registry };