import { type ComponentPropsWithoutRef, type CSSProperties } from 'react';
import { type IconName } from '../icon-components/index.js';
export type Color = CSSProperties['color'];
export type Size = CSSProperties['width'];
export declare function getDimensions(size?: Size): {
    width?: undefined;
    height?: undefined;
} | {
    width: string;
    height: string;
};
type IconProps = ComponentPropsWithoutRef<'svg'> & {
    readonly name: IconName;
    readonly size?: Size;
    readonly color?: Color;
};
declare const Icon: ({ name, size, color, style, ...props }: IconProps) => import("react/jsx-runtime").JSX.Element;
export { Icon, type IconProps, type IconName };
//# sourceMappingURL=icon.d.ts.map