import React from "react"; import { BannerCTA, BannerProps } from "../types"; export declare const CTA: ({ cta }: { cta: BannerCTA; }) => React.JSX.Element; /** * @component Renders a banner component with customizable text, color and styling. * * - The object containing the following properties: * @prop {IconColor} color: The color of the banner. * @prop {BannerCTA} cta: The object containing the info about the cta button. * @prop {string} msg: The text to be displayed in the banner. * @prop {(e: React.MouseEvent | null, id: string) => void} handleRemove: The callback function to be called when the banner is removed. * @prop {string} id: The id of the banner. * @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} bottomStroke: A boolean indicating whether to show the bottom stroke in the banner. Defaults to true. * @prop {boolean} hideCloseButton: A boolean indicating whether to hide the close button in the banner. Defaults to false. * @return {ReactElement} The rendered banner component. */ export declare const Banner: React.FunctionComponent;