import { SVGType } from './types';
/**
 * Return the color token without `#` characters or whitespace.
 */
export declare function purgedColor(color: string): string;
/**
 * Read one SVG cache entry stored on `window` for the current browser session.
 */
export declare function getWindowSvgCache(cacheKey: string): string | undefined;
/**
 * Store one SVG cache entry on `window` for the current browser session.
 */
export declare function setWindowSvgCache(cacheKey: string, value: string): void;
/**
 * Return the SVG source from cache or the skeleton placeholder when `src` exists.
 * When `src` is undefined, the hook does not need to do any processing.
 */
export declare function getSVG(src: string | undefined, cacheKey: string | undefined, color: string, skeletonIcon?: string): SVGType | null;
//# sourceMappingURL=helpers.d.ts.map