import { Accessibility, ButtonBehaviorProps } from '@fluentui/accessibility'; import { UIComponentProps, ChildrenComponentProps, ContentComponentProps } from '../../utils'; import { ComponentEventHandler, FluentComponentStaticProps, ShorthandValue } from '../../types'; import { ComponentWithAs } from '@fluentui/react-bindings'; import { BoxProps } from '../Box/Box'; export interface AlertDismissActionProps extends UIComponentProps, ContentComponentProps>, ChildrenComponentProps { /** Accessibility behavior if overridden by the user. */ accessibility?: Accessibility; /** A dismiss action can show that it cannot be interacted with. */ disabled?: boolean; /** An alert may be formatted to display a danger message. */ danger?: boolean; /** An alert can be formatted to display a warning message. */ warning?: boolean; /** An alert can be formatted to display a successful message. */ success?: boolean; /** An alert may be formatted to display information. */ info?: boolean; /** * Called after a user clicks the paddle. * @param event - React's original SyntheticEvent. * @param data - All props. */ onClick?: ComponentEventHandler; } export declare type AlertDismissActionSlotClassNames = { content: string; }; export declare type AlertDismissActionStylesProps = Pick & { hasContent?: boolean; }; export declare const alertDismissActionClassName = "ui-alert__dismissaction"; export declare const alertDismissActionSlotClassNames: AlertDismissActionSlotClassNames; /** * A AlertDismissAction allows users to customize the dismissAction slot inside the Alert component. * * @accessibility * Implements [ARIA Button](https://www.w3.org/TR/wai-aria-practices-1.1/#button) design pattern. */ export declare const AlertDismissAction: ComponentWithAs<'button', AlertDismissActionProps> & FluentComponentStaticProps;