/** * Inventory generation utilities for expozrs */ import type { ExpozrConfig, Inventory } from "../types"; /** * Generates inventory manifests from expozr configurations */ export declare class InventoryGenerator { /** * Generate inventory from expozr configuration */ static generate(config: ExpozrConfig): Promise; /** * Generate cargo manifest from expose configuration */ private static generateCargoManifest; /** * Create a simple cargo configuration from string entry */ private static createSimpleCargo; /** * Create a detailed cargo configuration from object entry */ private static createDetailedCargo; /** * Get cargo entry path based on build configuration */ private static getCargoEntryPath; /** * Extract pure module name from cargo name * Example: "./Button" -> "Button", "@scope/module" -> "module" */ private static extractPureModuleName; /** * Detect module system from entry file extension * @param entry - Entry file name or path * @returns Detected module system */ private static detectModuleSystem; /** * Get file extension for module format */ private static getExtensionForFormat; /** * Resolve base URL for expozr */ private static resolveBaseUrl; /** * Validate inventory structure before generation */ static validateConfig(config: ExpozrConfig): void; /** * Check if version string is valid semver */ private static isValidVersion; } //# sourceMappingURL=inventory-generator.d.ts.map