import { default as React, Ref } from 'react'; import { ButtonProps } from '../Button/Button.models'; export type BannerProps = { /** Primary text to display */ primaryText: string; /** Secondary text to display */ secondaryText: string; /** Type of Banner */ type: 'informational' | 'issue'; /** Class to be applied to the component */ className?: string; /** Optional Button to be used in the Banner. It appears on the right side of the Banner. */ buttonProps?: ButtonProps; /** Optionally hide the info Icon */ hideInfoIcon?: boolean; /** Optionally show a close button. This function is called when the close button is clicked. */ closeButtonCallout?: () => void; /** Optional prop to add a test id to the Banner for QA testing */ qaTestId?: string; }; declare const Banner: { ({ primaryText, secondaryText, className, type, hideInfoIcon, closeButtonCallout, buttonProps, ref, qaTestId, }: BannerProps & { ref?: Ref; }): React.JSX.Element; displayName: string; }; export default Banner;