import type { ReactNode } from "react"; type PromoBannerBaseProps = { /** Full-width `horizontal` banner or a `vertical` card (e.g. a sidebar promo). */ orientation?: "horizontal" | "vertical"; title?: ReactNode; description?: ReactNode; /** Visual slot (image / illustration / media) — beside the text when horizontal, below it when vertical. */ visual?: ReactNode; className?: string; }; type PromoBannerStaticProps = { cta?: ReactNode; onClick?: never; href?: never; }; type PromoBannerButtonProps = { onClick: () => void; cta?: never; href?: never; }; type PromoBannerLinkProps = { href: string; cta?: never; onClick?: never; }; type PromoBannerDismissProps = { onDismiss: () => void; dismissLabel: string; } | { onDismiss?: never; dismissLabel?: never; }; export type PromoBannerProps = PromoBannerBaseProps & (PromoBannerStaticProps | PromoBannerButtonProps | PromoBannerLinkProps) & PromoBannerDismissProps; export declare function PromoBanner({ orientation, title, description, visual, cta, onClick, href, onDismiss, dismissLabel, className, }: PromoBannerProps): import("react").JSX.Element; export declare namespace PromoBanner { var displayName: string; } export {}; //# sourceMappingURL=PromoBanner.d.ts.map