import * as React from 'react'; import { GetClasses } from '../../typeUtils'; import 'focus-visible'; export declare const IconButtonStylesKey = "ChromaIconButton"; export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"primary" | "negative" | "positive" | "root" | "size0" | "size1" | "inverse" | "paddingTop0" | "paddingTop1" | "paddingTop2" | "paddingTop3" | "paddingBottom0" | "paddingBottom1" | "paddingBottom2" | "paddingBottom3" | "paddingLeft0" | "paddingLeft1" | "paddingLeft2" | "paddingLeft3" | "paddingRight0" | "paddingRight1" | "paddingRight2" | "paddingRight3">; export declare type IconButtonClasses = GetClasses; export interface IconButtonProps extends React.ComponentPropsWithoutRef<'button'> { ['aria-label']: string; color?: 'default' | 'inverse' | 'negative' | 'positive' | 'primary'; icon: React.MemoExoticComponent<(props: React.SVGProps) => JSX.Element>; size?: 0 | 1; paddingTop?: 0 | 1 | 2 | 3; paddingBottom?: 0 | 1 | 2 | 3; paddingLeft?: 0 | 1 | 2 | 3; paddingRight?: 0 | 1 | 2 | 3; } /** * A Button element with an icon only. Since it's only an icon that's rendered, * it's required to pass the `aria-label` prop so that screen readers can give * meaning to the button. * * ### Accessibility * * - The Icon Button has `type="button"`. * - Pressing `Tab` will set focus to the element * - Pressing `Space` or `Enter` triggers the click action. * * ### Links * * - [Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/IconButton/IconButton.tsx) * - [Story Source](https://github.com/lifeomic/chroma-react/blob/master/stories/components/IconButton/IconButton.stories.tsx) */ export declare const IconButton: React.ForwardRefExoticComponent>;