import * as React from "react"; import { type VariantProps } from "../utils.js"; import { type ButtonProps } from "../Button/index.js"; declare const alertVariants: (props?: ({ type?: "info" | "success" | "warning" | "danger" | null | undefined; variant?: "strong" | "subtle" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface AlertProps extends React.HTMLAttributes, VariantProps { showCloseButton?: boolean; icon?: React.ReactElement | null; onClose?: () => void; actions?: React.ReactElement; swatchColor?: string; swatchColorIcon?: boolean; } declare const AlertAction: ((props: ButtonProps) => React.JSX.Element) & { original: (props: ButtonProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: ((props: ButtonProps) => React.JSX.Element) & { original: (props: ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: ButtonProps) => React.JSX.Element) & { original: (props: ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; declare const Alert: ((props: AlertProps) => React.JSX.Element) & { original: (props: AlertProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: ((props: AlertProps) => React.JSX.Element) & { original: (props: AlertProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: AlertProps) => React.JSX.Element) & { original: (props: AlertProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; } & { Action: ((props: ButtonProps) => React.JSX.Element) & { original: (props: ButtonProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: ((props: ButtonProps) => React.JSX.Element) & { original: (props: ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<((props: ButtonProps) => React.JSX.Element) & { original: (props: ButtonProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; }; export { Alert };