import type { ComponentProps, CSSProperties, ReactNode } from 'react'; import { Button } from '../Button'; import type { AlertSentiment } from './type'; type AlertProps = { children: ReactNode; /** * Add a title at the top of your alert. */ title?: string; sentiment?: AlertSentiment; buttonText?: ComponentProps['children']; onClickButton?: () => void; onClose?: () => void; closable?: boolean; className?: string; 'data-testid'?: string; /** * Disabled the alert button. */ disabled?: boolean; style?: CSSProperties; size?: 'medium' | 'small'; }; export declare function Alert({ children, title, sentiment, buttonText, onClickButton, closable, onClose, className, disabled, 'data-testid': dataTestId, size, style, }: AlertProps): import("react").JSX.Element | null; export declare namespace Alert { var displayName: string; } export {}; //# sourceMappingURL=index.d.ts.map