import React from "react"; import { BannerAlertProps, BannerInfoProps, DisplayIconProps } from "./types"; export declare const DisplayIcon: React.FunctionComponent; /** * @component Renders a list of alert banners with customizable text, color and styling. * * - The props object containing the following properties * @prop {BannerState[]} alertState: An array of BannerState objects, each containing the properties of a banner component. * @prop {(e: React.MouseEvent | null, id: string) => void} REMOVE_ALERT_BANNER: A callback function to be called when a banner is removed. The function takes the mouse event and the id of the banner as arguments. * @return {ReactElement} The rendered list of alert banners component. * * @typedef {Object} BannerState * @prop {string} id: The id of the banner. * @prop {IconColor} color: The color of the banner. * @prop {string} msg: The text to be displayed in the banner. * @prop {BannerCTA} cta: An object containing the info about the cta button. * @prop {number} timeOut: The time in milliseconds to wait before removing the banner. Defaults to 3000. * @prop {boolean} showIcon: A boolean indicating whether to show the icon in the banner. Defaults to true. * @prop {boolean} hideCloseButton: A boolean indicating whether to hide the close button in the banner. Defaults to false. */ export declare const BannerAlert: React.FunctionComponent; /** * @component Renders a list of info banners with customizable text, color and styling. * * - The props object containing the following properties * @prop {BannerState[]} infoState: An array of BannerState objects, each containing the properties of a banner component. * @prop {(e: React.MouseEvent | null, id: string) => void} REMOVE_INFO_BANNER: A callback function to be called when a banner is removed. The function takes the mouse event and the id of the banner as arguments. * @return {ReactElement} The rendered list of info banners component. * * @typedef {Object} BannerState * @prop {string} id: The id of the banner. * @prop {IconColor} color: The color of the banner. * @prop {string} msg: The text to be displayed in the banner. * @prop {BannerCTA} cta: An object containing the info about the cta button. * @prop {number} timeOut: The time in milliseconds to wait before removing the banner. Defaults to 3000. * @prop {boolean} showIcon: A boolean indicating whether to show the icon in the banner. Defaults to true. * @prop {boolean} hideCloseButton: A boolean indicating whether to hide the close button in the banner. Defaults to false. */ export declare const BannerInfo: React.FunctionComponent;