import type { EcoComponent } from '../../types/public-types.js'; import type { EcoPagesAppConfig } from '../../types/internal-types.js'; import type { AssetProcessingService, ProcessedAsset } from '../../services/assets/asset-processing-service/index.js'; export declare const DEPENDENCY_ERRORS: { readonly INVALID_STYLESHEET_ENTRY: "Invalid stylesheet dependency entry: expected src or content"; readonly INVALID_SCRIPT_ENTRY: "Invalid script dependency entry: expected src or content"; readonly LAZY_SCRIPT_MISSING_SRC: "Lazy script dependency entry in dependencies.scripts requires a src value"; }; export declare class DependencyResolverService { private appConfig; private assetProcessingService; /** * Creates the dependency resolver used by route and component rendering. * * @remarks * The resolver stays intentionally separate from HTML rendering so component * dependency collection, lazy trigger grouping, and processed-asset generation * can evolve without changing renderer implementations. */ constructor(appConfig: EcoPagesAppConfig, assetProcessingService: AssetProcessingService); /** * Resolves one dependency path relative to the component that declared it. */ resolveDependencyPath(componentDir: string, pathUrl: string): string; /** * Maps lazy script source entries to deterministic fallback public URLs * used when bundling output URLs are unavailable. */ resolveLazyScripts(componentDir: string, scripts: string[]): string; /** * Collects and processes component dependencies (styles, scripts, modules, lazy scripts). * Lazy dependencies are always resolved into global-injector trigger maps. */ processComponentDependencies(components: Array | undefined | null>, integrationName: string): Promise; }