import React, { FC } from 'react'; /** * Link properties */ export interface BannerPropsStrict { /** Adds one or more classnames for an element */ className?: string; /** Whether to display an icon. Icon itself determined by status. */ icon?: boolean; /** Text for the primary button */ primaryActionName?: string; /** Function that fires when the user clicks on the primary button/action */ onPrimaryActionClick?: (e: React.SyntheticEvent) => void; /** Function that fires when the user clicks on the secondary button/action */ onSecondaryActionClick?: (e: React.SyntheticEvent) => void; /** Function that fires when the user clicks the close icon */ onClose?: (e: React.SyntheticEvent) => void; /** Text for the secondary button */ secondaryActionName?: string; /** Determines the visual appearance and icon of the banner */ status?: 'success' | 'info' | 'warning' | 'critical'; /** Top text of the banner */ title: string; } export interface BannerProps extends BannerPropsStrict { [propName: string]: any; } export declare const Banner: FC;