import { FC, ReactNode } from 'react'; import { ViewStyle } from 'react-native'; import { IconString } from '../display/icon'; import { type StatusAppearanceUnion } from '../display/utils/status_colors'; type BannerComponents = { Root: FC; StaticLayout: FC; CollapsibleLayout: FC; Content: FC; StatusIcon: FC; Heading: FC; Text: FC; Link: FC; }; declare const _default: BannerComponents; export default _default; export type { BannerRootProps, BannerStaticLayoutProps, BannerCollapsibleLayoutProps, BannerContentProps, BannerStatusIconProps, BannerHeadingProps, BannerTextProps, BannerLinkProps, }; interface BannerRootProps { children: ReactNode; appearance?: StatusAppearanceUnion; } interface BannerStaticLayoutProps { children: ReactNode; style?: ViewStyle; } interface BannerCollapsibleLayoutProps { children: ReactNode; expanded?: boolean; onPress?: () => void; style?: ViewStyle; } interface BannerContentProps { children: ReactNode; } interface BannerStatusIconProps { iconName?: IconString; } interface BannerHeadingProps { children: ReactNode; } interface BannerTextProps { children: ReactNode; } interface BannerLinkProps { children: ReactNode; onPress?: () => void; } //# sourceMappingURL=banner_primitive.d.ts.map