type InfoBarType = "default" | "warning" | "critical" | "accent"; type InfoBarSize = "medium" | "large"; export type InfoBarBaseProps = { type?: InfoBarType; size?: InfoBarSize; roundedCorners?: boolean; badge?: React.ReactNode; className?: string; label: React.ReactNode; onDismiss?: () => void; } & React.HTMLAttributes; type InfoBarWithLink = InfoBarBaseProps & { link: { label: string; href: string; }; button?: never; }; type InfoBarWithButton = InfoBarBaseProps & { button: { label: string; onClick: () => void; }; link?: never; }; type InfoBarWithoutAction = InfoBarBaseProps & { link?: never; button?: never; }; export type InfoBarProps = InfoBarWithLink | InfoBarWithButton | InfoBarWithoutAction; export declare const InfoBar: ({ type, size, roundedCorners, badge, className, label, link, button, onDismiss, ...props }: InfoBarProps) => import("react").JSX.Element; export {}; //# sourceMappingURL=InfoBar.d.ts.map