/** * Result of fetching a component source */ export interface FetchComponentResult { /** The HTML source content */ source: string; /** The actual resolved path (may differ from input for folder-as-component) */ resolvedPath: string; } export declare function fetchComponentSource(path: string): Promise; /** * Removes all settled component sources from the cache. Requests already in * flight still resolve for their callers but cannot repopulate the cache. */ export declare function clearComponentCache(): void; /** * Removes one component source from the cache. * * Relative paths use the page URL as their base, matching registerComponent(). * Returns true when a settled cache entry existed. */ export declare function invalidateComponentCache(path: string): boolean;