import { CDNLoader } from './cdn-loader.js'; /** * Checks a string to see if it's a valid URL * @param str String to test * @returns is URL */ export declare const isUrl: (str: string) => boolean; /** * Checks a string to see if it's a base64 URL * @param str String to test * @returns is Base64 */ export declare const isBase64svg: (str: string) => boolean; /** * Caches and provides SVGs, loaded either by name from CDN or directly by URL. * Uses singleton pattern */ export declare class SVGLoader extends CDNLoader { /** * Creates complete source using CDN prefix and src. * Waits for CDN prefix to be set. * @param name - resource path for download * @returns Promise, which will be resolved with complete source. */ getSrc(name: string): Promise; /** * Loads icon and returns the body of the SVG * @param name Name of SVG to load * @returns SVG body of the response */ loadSVG(name: string): Promise; }