import { ButtonProps } from "../Button/Button.js"; import { ComponentPropsWithRef, FC, ReactNode } from "react"; //#region src/molecules/Banner/Banner.d.ts interface BannerActionConfig extends Omit { label: ReactNode; } interface BannerProps extends ComponentPropsWithRef<'div'> { variant: 'info' | 'warning' | 'danger'; children: ReactNode; /** Configs default to ghost/outlined/filled from left to right; JSX allows custom actions. */ actions?: ReactNode | BannerActionConfig[]; /** Requests dismissal; the caller controls visibility. */ onDismiss?: () => void; } declare const Banner: FC; //#endregion export { Banner, BannerActionConfig, BannerProps };