import { CustomCollectionIconLoader, CustomHMRIconLoader } from "./types.js"; export declare function normalizePath(path: string): string; export declare function isCustomHMRIconLoader(loader: CustomCollectionIconLoader): loader is CustomHMRIconLoader; export type FindModulesFn = (id: string) => T | undefined; export type CollectIconModulesFn = (collection: string, icon: string, findModules: FindModulesFn) => T[] | undefined; export interface HMRSupport { hmrCustomIconResolvers: CustomHMRIconLoader[]; handleHotUpdate: (svgFilePath: string, findModules: FindModulesFn) => T[] | undefined; resolveSVGIconPath: (collectionName: string, iconName: string) => string | undefined; } export declare function collectCustomHMRIconResolvers(customCollections?: Record): Map; export declare function createHMRHelper(collectIconModules: CollectIconModulesFn, customCollections?: Record): HMRSupport;