import React, { FC, ReactNode } from 'react'; import { Box, PropsBox, AlertDesign } from './Alert.styles'; import { BoxStyled } from '../Utils/styled'; import { ResponsiveProp, Breakpoints } from '../Utils/responsiveness'; export declare const defaultAlertTestId: AlertProps['testId']; export interface AlertProps extends Omit, 'title'> { design?: PropsBox['$design']; /** Flag controls if the element width is dynamic. * When true - element's width will be defined by it's content. * When false - element's width will be set to 100%. */ dynamic?: PropsBox['$dynamic']; /** Value to turn on compact mode when viewport width is below it */ compact?: PropsBox['$compact']; title?: ReactNode; actions?: ReactNode; /** Flag controls whether icon should be hidden or not */ noIcon?: boolean; rightContainer?: ReactNode | string; testId?: { container?: string; title?: string; content?: string; icon?: string; iconContainer?: string; closeIcon?: string; }; onClose?: (e: React.MouseEvent) => void; } export interface AlertThemeProps extends AlertProps { compact?: ResponsiveProp; design?: AlertDesign; } export declare const Alert: FC;