import type { ToastServiceMethods } from 'primevue/toastservice'; import type { StatusLevel } from '../types/index.js'; export interface NotificationOptions { headline?: string; closable?: boolean; icon?: string; lifetime?: number; } export declare class NotificationService { readonly notify: (message: string, options?: NotificationOptions & { severity?: StatusLevel; }) => void; readonly notifyInfo: (message: string, options?: NotificationOptions) => void; readonly notifyHelp: (message: string, options?: NotificationOptions) => void; readonly notifySuccess: (message: string, options?: NotificationOptions) => void; readonly notifyWarning: (message: string, options?: NotificationOptions) => void; readonly notifyError: (message: string, options?: NotificationOptions) => void; constructor(toast: ToastServiceMethods); } /** * Returns a collection of methods for providing user feedback via popup * notifications (a.k.a. toast notifications / snackbar notifications). */ export declare function useNotification(): NotificationService;