import type { FC, ReactNode } from "react"; type PromoteVariants = "large" | "compact"; interface CompactPromoteProps { /** * The variant of the `Promote`. * @default compact */ variant?: Extract; /** * The illustration of the `Promote`. */ illustration?: never; } interface WidePromoteProps { /** * The variant of the `Promote`. * @default large */ variant?: Extract; /** * The illustration of the `Promote`. */ illustration?: ReactNode; } export type PromoteProps = { /** * Product context for the banner. */ context?: ReactNode; /** * Descriptive title for banner. */ title: ReactNode; /** * Buttons. */ actions?: ReactNode; /** * Function triggered when the dismiss button is clicked. * Dismiss button won't be rendered if absent. */ onDismiss?(): void; /** * The content of the `Promote`. */ children: ReactNode; } & (CompactPromoteProps | WidePromoteProps); /** * The `Promote` component is a contextual way of showing a user that a new feature or product is available to them on a higher plan or as an option. * * See the [Promote documentation page](https://satellite.algolia.com/8261d6576/p/8239aa-banners/b/799590) for more information. */ export declare const Promote: FC; export {};