import React, { ReactElement } from "react"; import { AlertBannerBackgroundColor } from "./AlertBannerConstants"; import VibeComponentProps from "../../types/VibeComponentProps"; import { AlertBannerLinkProps } from "./AlertBannerLink/AlertBannerLink"; import { AlertBannerButtonProps } from "./AlertBannerButton/AlertBannerButton"; import { AlertBannerTextProps } from "./AlertBannerText/AlertBannerText"; import { VibeComponent } from "../../types"; type ChildrenType = ReactElement; export interface AlertBannerProps extends VibeComponentProps { /** * Set external styling to the progress bar. */ className?: string; backgroundColor?: AlertBannerBackgroundColor; isCloseHidden?: boolean; /** ARIA description for the progress bar */ ariaLabel?: string; closeButtonAriaLabel?: string; onClose?: (event: React.MouseEvent) => void; children?: ChildrenType | ChildrenType[]; } declare const _default: ((VibeComponent, HTMLElement> & Partial<{ backgroundColors: typeof AlertBannerBackgroundColor; }>) | (React.FC> & Partial<{ backgroundColors: typeof AlertBannerBackgroundColor; }>)) & { backgroundColors: typeof AlertBannerBackgroundColor; }; export default _default;