import React from 'react'; import { type FlexAllProps, type FlexComponentProps } from 'reflexy/styled'; import { type HideableProps, type TransitionComponent } from '../TransitionFlex'; import type { GetOverridedKeys } from '../types/local'; export interface NotificationVariants { } export type NotificationVariant = GetOverridedKeys<'info' | 'success' | 'warning' | 'error', NotificationVariants>; export interface NotificationBarProps extends FlexComponentProps<'div', { omitProps: true; }>, HideableProps { readonly id: TID; readonly variant?: NotificationVariant | undefined; readonly action?: ((props: Pick) => React.JSX.Element) | undefined; readonly onAction?: ((id: TID) => void) | undefined; readonly contentProps?: FlexAllProps | undefined; readonly actionProps?: FlexAllProps | undefined; readonly applyClassesToTransition?: boolean | undefined; } export default function NotificationBar({ id, variant, action: Action, onAction, contentProps, actionProps, children, ...rest }: React.PropsWithChildren>): React.JSX.Element;