import { ReactElement } from 'react'; import { ViewStyle } from 'react-native'; import { type BannerStatusIconProps, type BannerRootProps } from '../primitive/banner_primitive'; type descriptionUnion = string | ReactElement | undefined; export interface BannerProps { /** * Changes the status color for the background, text, and icon. * Sets a preset status icon. */ appearance?: BannerRootProps['appearance']; /** * Renders the banner's main text. * If some of the text is interactive it can also take `BannerPrimitive.Link` wrapped in `BannerPrimitive.Text`. */ description?: descriptionUnion; /** * Renders the banner's heading text. */ heading?: string; /** * Overrides the preset status icon. */ iconName?: BannerStatusIconProps['iconName']; /** * Hides the status icon. By default, the status icon is shown. */ showIcon?: boolean; /** * Adds a style to the banner. */ style?: ViewStyle; } export declare function Banner({ appearance, description, heading, iconName, showIcon, style, }: BannerProps): import("react/jsx-runtime").JSX.Element | null; export declare function ConditionalDescription({ description }: { description: descriptionUnion; }): import("react/jsx-runtime").JSX.Element | null; export {}; //# sourceMappingURL=banner.d.ts.map