import { ElementType } from 'react'; import { ThemingProps } from '@chakra-ui/react'; export interface BannerProps { variant?: ThemingProps<'Banner'>['variant']; children: React.ReactNode; /** * Whether to allow collapsing of the banner. * Defaults to `true` if `info` variant is used, `false` otherwise. */ isDismissable?: boolean; /** * The icon to use for the banner. Defaults to the variant's icon. */ icon?: ElementType; /** * The close button to use for the banner. * Defaults to the variant's close button. * If `null`, the close button will not be rendered. */ closeButton?: React.ReactNode; size?: ThemingProps<'Banner'>['size']; } export declare const Banner: ({ variant: _variant, size, children, isDismissable: isDismissableProp, icon: iconProp, closeButton, }: BannerProps) => JSX.Element;