import type { ReactNode } from "react";
import type { FlexProps, IconName } from "../../ui";
interface BaseBannerProps extends FlexProps {
    icon?: IconName;
    body: ReactNode;
}
type BannerProps = (BaseBannerProps & {
    closable: true;
    onClose: () => void;
}) | (BaseBannerProps & {
    closable?: false;
    onClose?: never;
});
export declare const Banner: ({ icon, body, closable, onClose, bg, ...flexProps }: BannerProps) => import("react/jsx-runtime").JSX.Element;
export {};
