type IconCacheMap = Map; export declare function iconCacheKey(name: string, flag: boolean): string; export declare function iconCache(): IconCacheMap; /** * Pre-register glyphs so ds-icon renders them synchronously — no lazy-chunk * fetch, no first-paint pop-in. Import the SVG strings from `@ds-mo/icons` * in the app (statically, so they ship in the app's own bundle): * * ```ts * import { Bell } from '@ds-mo/icons/svg/Bell'; * import { FlagUnitedStates } from '@ds-mo/icons/svg/flags/FlagUnitedStates'; * import { registerIcons } from '@ds-mo/ui/utils'; * * registerIcons({ Bell }); * registerIcons({ FlagUnitedStates }); * ``` * * Icons that are not registered still work — they lazy-load on first render * and stay cached afterwards. */ export declare function registerIcons(icons: Record, options?: { flag?: boolean; }): void; export {}; //# sourceMappingURL=icon-cache.d.ts.map