import { FlexProps } from "styled-system"; export type BannerVariant = keyof typeof BANNER_VARIANTS; export interface CommonBannerProps extends FlexProps { onClose?: () => void; dismissable?: boolean; variant?: BannerVariant; } type BannerWithText = CommonBannerProps & { text: string; children?: never; }; type BannerWithChildren = CommonBannerProps & { text?: never; children: React.ReactNode; }; export type BannerProps = BannerWithText | BannerWithChildren; export declare const Banner: ({ text, onClose, dismissable, variant, children, ...restProps }: BannerProps) => import("react/jsx-runtime").JSX.Element; declare const BANNER_VARIANTS: { defaultLight: { backgroundColor: string; color: string; }; defaultDark: { backgroundColor: string; color: string; }; success: { backgroundColor: string; color: string; }; error: { backgroundColor: string; color: string; }; brand: { backgroundColor: string; color: string; }; }; export {};