import { ReactNode } from 'react';
import { MessageSeverity } from '../../types/MessageSeverity';
export interface AnnouncementBannerProps extends React.HTMLAttributes<HTMLDivElement> {
    severity: MessageSeverity;
    caption?: ReactNode;
    text: ReactNode;
    /**
     * @deprecated use `link` instead
     */
    linkHref?: string;
    onDismiss: () => void;
    visible: boolean;
    link?: {
        text?: ReactNode;
        href: string;
    };
}
export declare function AnnouncementBanner({ severity, caption, text, onDismiss, className, visible, linkHref: _linkHref, link, ...rest }: AnnouncementBannerProps): import("theme-ui/jsx-runtime").JSX.Element;
