import React, { HTMLAttributes, ReactNode } from 'react';
import { IconSizeType, IconType } from '../../system/ThemeProvider/lib/types';
export type PropsWithIcon = {
icon: IconType;
children?: never;
};
export type PropsWithChild = {
icon?: never;
children: ReactNode;
};
export type IconSizeProps = {
size?: IconSizeType;
containerSize?: IconSizeType;
};
export type IconProps = HTMLAttributes & (PropsWithIcon | PropsWithChild) & IconSizeProps & {
'data-testid'?: string;
enabled?: boolean;
};
export declare const Icon: import("styled-components").StyledComponent>, import("styled-components").DefaultTheme, {}, never>;