/** * Global loader-icon registry. * * Set once at app bootstrap to override the default spinner SVG used by * every loading-aware component (`ty-button`, `ty-dropdown`, `ty-multiselect`, * etc.). Components call `getLoaderSvg()` on every render, so changing the * registered SVG affects future renders. * * The wrapper element rotates the SVG with `transform: rotate()`, so prefer * a *static* SVG. If you must use a self-animating SVG, disable the wrapper * spin with the `--ty-loader-animation: none` CSS custom property. * * @example * import { setLoaderSvg } from 'tyrell-components' * setLoaderSvg('...') * * // CDN / vanilla * window.tyLoader.set('...') * * // Reset to default * setLoaderSvg(null) */ /** * Register a custom spinner SVG (markup string). Pass `null` to reset to * the built-in default. */ export declare function setLoaderSvg(svg: string | null): void; /** * Get the currently registered spinner SVG, or the built-in default if * none has been set. Components call this on every render. */ export declare function getLoaderSvg(): string; /** Reset the registered loader back to the built-in default. */ export declare function resetLoaderSvg(): void; //# sourceMappingURL=loader-registry.d.ts.map