import * as React from "react"; import { AriaAttributes, ReactNode } from "react"; import { IconDefinition } from "@fortawesome/fontawesome-svg-core"; import { BoxProps, DivProps, HeadingVariant } from "@stenajs-webui/core"; export type BannerVariant = "standard" | "info" | "success" | "warning" | "error"; export interface BannerProps extends AriaAttributes { icon?: IconDefinition; headerText?: string; headingLevel?: HeadingVariant; text?: string; loading?: boolean; contentRight?: ReactNode; variant?: BannerVariant; children?: ReactNode; contentFlex?: BoxProps["flex"]; /** * The role prop of the element, used for accessibility. * If not set, it will default to "status" when variant is success or warning, * "alert" when variant is error and otherwise not be set. */ role?: DivProps["role"]; } export declare const Banner: React.FC;