import type { Keys as IconName } from '@rocket.chat/icons'; import type { ReactElement } from 'react'; import { type BoxProps } from '../Box'; type ButtonSize = { large?: boolean; medium?: boolean; small?: boolean; tiny?: boolean; mini?: boolean; }; export type IconButtonProps = { icon: IconName | ReactElement; primary?: boolean; secondary?: boolean; info?: boolean; danger?: boolean; warning?: boolean; success?: boolean; pressed?: boolean; } & ButtonSize & BoxProps; declare const IconButton: import("react").ForwardRefExoticComponent<{ icon: IconName | ReactElement; primary?: boolean; secondary?: boolean; info?: boolean; danger?: boolean; warning?: boolean; success?: boolean; pressed?: boolean; } & ButtonSize & BoxProps & import("react").RefAttributes>; export default IconButton; //# sourceMappingURL=IconButton.d.ts.map