import { ReactNode, SyntheticEvent } from 'react'; import { TBaseProps } from '../../types'; export declare enum Severity { danger = "danger", info = "info", success = "success", warning = "warning" } export declare enum AnimationDirection { default = "default", reversed = "reversed" } export declare type AlertProps = TBaseProps & { animate?: boolean; closeButton?: boolean; href?: string; loader?: boolean; onDismiss?(): void; placement?: string; severity?: Severity; stacktrace?: string | string[] | null; stopRemoving?(): void; t?(arg: string): string; text?: string; timestamp?: number; title?: string; }; declare type DefaultAlertOwnProps = { animationDirection: AnimationDirection; isField?: boolean; onClose?(): void; stacktraceVisible?: boolean; togglingStacktrace(): void; }; export declare type DefaultAlertProps = DefaultAlertOwnProps & Omit; declare type AlertSectionOwnProps = { isSimple?: boolean; onClick?(e: SyntheticEvent): void; style?: AlertProps['style'] | null; text?: AlertProps['text'] | null; textClassName?: string; }; export declare type AlertSectionProps = AlertSectionOwnProps & Pick; declare type AlertWrapperOwnProps = { children: ReactNode; severity: string; }; export declare type AlertWrapperProps = AlertWrapperOwnProps & Pick; export {};