import type { DependencyLazyTrigger, EcoComponent, ResolvedLazyTrigger } from '../../types/public-types.js'; /** * Lazy scripts already normalized onto one trigger and concrete script URL set. */ export type ResolvedLazyGroup = { lazy: DependencyLazyTrigger; scripts: string[]; }; /** * Creates a stable grouping key for a lazy trigger declaration. */ export declare function getLazyTriggerKey(lazy: DependencyLazyTrigger): string; /** * Derives the public lazy-trigger manifest attached to a component config. * * The generated `triggerId` is stable for the same component file and set of * resolved script URLs, independent of declaration order. */ export declare function buildResolvedLazyTriggers(config: NonNullable, groups: ResolvedLazyGroup[]): ResolvedLazyTrigger[];