import { default as React } from 'react';
import { BaseProps } from '../../../libraries/common-types/src/common-types';
import { iconList } from './icon-imports';
export declare type IconName = keyof typeof iconList;
export declare const sizes: readonly ["xxs", "xs", "sm", "md", "lg", "xl"];
export declare const DEFAULT_SIZE: "md";
export type Size = (typeof sizes)[number];
export type IconBaseProps = Omit<BaseProps<"span">, "children"> & {
    size?: Size;
    allyTitle?: string;
};
export type IconProps = {
    svg: {
        svg: string;
        name: string;
    };
} & IconBaseProps;
export declare const Icon: {
    ({ svg, allyTitle, className, size, ...props }: IconProps): React.JSX.Element;
    displayName: string;
};
//# sourceMappingURL=icon.d.ts.map