
import { CubeNotificationProps } from "../components/overlays/Notification/Notification.js";

//#region src/services/notification.d.ts
interface NotificationData {
  id: number;
  type?: CubeNotificationProps['type'];
  message?: string;
}
interface NotificationService {
  root: Element | null;
  defaultOptions: {
    duration: number;
  };
  items: NotificationData[];
  init: () => void;
  render: () => void;
  _render: (items?: NotificationData[]) => void;
  show: (type: CubeNotificationProps['type'], message: string, options?: CubeNotificationOptions) => void;
  close: (number: any) => void;
  success: (message: string, options?: CubeNotificationOptions) => void;
  info: (message: string, options?: CubeNotificationOptions) => void;
  danger: (message: string, options?: CubeNotificationOptions) => void;
}
interface CubeNotificationOptions {
  duration?: number;
}
/**
 * @deprecated consider using `useNotificationsApi` instead
 */
declare const notification: NotificationService;
//#endregion
export { CubeNotificationOptions, notification };
//# sourceMappingURL=notification.d.ts.map