import { AlertProps } from '@patternfly/react-core/dist/dynamic/components/Alert'; export type NotificationID = string; export type NotificationConfig = { id: NotificationID; title: React.ReactNode; variant: AlertProps['variant']; description?: React.ReactNode; dismissable?: boolean; autoDismiss?: boolean; dismissDelay?: number; }; type AddNotification = (config: Omit) => void; export type NotificationsStore = { addNotification: AddNotification; removeNotification: (id: string) => void; clearNotifications: () => void; subscribe: (callback: () => void) => () => void; getNotifications: () => NotificationConfig[]; }; export declare function createStore(): NotificationsStore; export {};