import { BoxProps, ChakraComponent } from '@chakra-ui/react'; import { default as React } from 'react'; export declare const notificationVariantsArray: readonly ["standard", "announcement", "warning"]; export type NotificationVariants = typeof notificationVariantsArray[number]; interface BaseProps extends BoxProps { /** Optional prop to control text alignment in `NotificationContent` */ alignText?: boolean; /** Optional custom `Icon` that will override the default `Icon`. */ icon?: JSX.Element; /** Optional prop to control horizontal alignment of the `Notification` content */ isCentered?: boolean; /** Optional content to be rendered in a `NotificationHeading` component. A * string value is used to set the text for a `Heading` component, or * a DS Heading component that can be passed in. */ notificationHeading?: string | JSX.Element; /** Optional prop to control the coloring of the `Notification` text and the * visibility of an applicable icon. */ variant?: NotificationVariants; /** Prop to display the `Notification` icon. Defaults to `true`. */ showIcon?: boolean; } type BasePropsWithoutAlignText = Omit; type NotificationHeadingProps = Omit; type NotificationContentProps = Omit; export interface NotificationProps extends BasePropsWithoutAlignText, BoxProps { /** Optional prop to control whether a `Notification` can be dismissed * (closed) by a user. */ dismissible?: boolean; /** Optional custom `Icon` that will override the default `Icon`. */ icon?: JSX.Element; /** Content to be rendered in a `NotificationContent` component. */ notificationContent: string | JSX.Element; } /** * NotificationHeading child-component. */ export declare const NotificationHeading: ChakraComponent & React.RefAttributes>, NotificationHeadingProps>; /** * NotificationContent child-component. */ export declare const NotificationContent: ChakraComponent & React.RefAttributes>, NotificationContentProps>; /** * `Notification` is a component used to present users with three different levels * of notifications: standard, announcement, and warning. */ export declare const Notification: ChakraComponent>, NotificationProps>; export default Notification;