import { LitElement } from 'lit'; import { type IconPromise } from './sds-icon-loader'; import { SDS_SIZES } from '../types'; type IconSizes = Extract; export interface SDSIconProps { name?: string; size?: 's' | 'm' | IconSizes; color?: string; label?: string; } export declare class SDSIconComponent extends LitElement { static styles: import("lit").CSSResult[]; private static readonly iconLoader; static setLoadLocal(loadLocal: boolean): void; static registerResolver(resolver: IconPromise): void; name: string; size?: 's' | 'm' | IconSizes; color: string; label: string; private svg; render(): import("lit-html").TemplateResult<1>; /** * Wraps the icon loader's callback in a promise. Even if the loader * calls the callback synchronously, awaiting the promise defers the * property update to the next microtask. */ private fetchIcon; updated(changedProperties: Map): void; } export {}; //# sourceMappingURL=sds-icon.component.d.ts.map