import * as React from "react"; import { ReactButtonAttr, ReactDivAttr } from "../../../typings/shared"; import { ButtonProps } from "../Button"; export type NotificationType = "inline" | "toast"; export type NotificationKind = "error" | "info" | "info-square" | "success" | "warning" | "warning-alt"; // NotificationActionButton export interface NotificationActionButtonProps extends ButtonProps {} export declare const NotificationActionButton: React.FC; // NotificationButton export interface NotificationButtonProps extends Omit { ariaLabel?: string | undefined; iconDescription?: string | undefined; name?: string | undefined; notificationType?: NotificationType | undefined; renderIcon?: any; } export declare const NotificationButton: React.FC; // NotificationTextDetail type ExcludedDetailDivAttributes = "className" | "title"; export interface NotificationTextDetailsProps extends Omit { caption?: React.ReactNode | undefined; subtitle?: React.ReactNode | undefined; title?: React.ReactNode | undefined; } export declare const NotificationTextDetails: React.FC; // ToastNotification export interface ToastNotificationProps extends Omit { caption?: React.ReactNode | undefined; closeOnEscape?: boolean | undefined; // v11 only hideCloseButton?: boolean | undefined; iconDescription?: string | undefined; kind?: NotificationKind | undefined; // required but has default value lowContrast?: boolean | undefined; notificationType?: NotificationType | undefined; onClose?(evt: React.MouseEvent): boolean; onCloseButtonClick?(evt: React.MouseEvent): void; statusIconDescription?: string | undefined; subtitle?: React.ReactNode | undefined; timeout?: number | undefined; title: NonNullable; } export declare const ToastNotification: React.FC; // Inline Notification export interface InlineNotificationProps extends Omit { actions?: React.ReactNode | undefined; closeOnEscape?: boolean | undefined; // v11 only hasFocus?: boolean | undefined; // v11 only hideCloseButton?: boolean | undefined; iconDescription?: string | undefined; kind: NotificationKind; lowContrast?: boolean | undefined; notificationType?: NotificationType | undefined; onClose?(evt: React.MouseEvent): boolean; onCloseButtonClick?(e: React.MouseEvent): void; statusIconDescription?: string | undefined; subtitle?: React.ReactNode | undefined; title: NonNullable; } export declare const InlineNotification: React.FC;