import * as Icons from "../icons";
type IconProps = {
    name: keyof typeof Icons;
    size?: number;
    color?: string;
    className?: string;
    otherAttributes?: Record<string, string>;
};
declare class Icon {
    private static cache;
    static getIconByKey(key: string): string | null;
    static getIcon(props: IconProps): string;
    static withAccessibility(svgString: string, label: string): string;
    static getCachedIcon(props: IconProps): string;
    private static getStyleAttribute;
    static applyStylesToSvg(svgString: string, styles: Record<string, string>): string;
}
export default Icon;
