UNPKG

oui-kit

Version:

🎯 *UI toolkit with a French touch* 🇫🇷

12 lines (11 loc) • 935 B
import { Ref } from 'vue'; import { AppNotificationInfo, AppNotificationSetup } from './_types'; export declare const notifications: Ref<AppNotificationInfo[]>; export declare function closeNotification(id?: string): void; export declare function _emitNotification(n: AppNotificationSetup): AppNotificationInfo; export declare function emitNotification(n: AppNotificationSetup): AppNotificationInfo; export declare function emitNotificationWarn(title: string, message?: string, timeout?: number): AppNotificationInfo; export declare function emitNotificationError(title: string, message?: string, timeout?: number): AppNotificationInfo; export declare const developerLog: import('vue').Reactive<any[]>; export declare function emitNotificationInfo(title: string, message?: string, timeout?: number): AppNotificationInfo | undefined; export declare function useNotification(n?: AppNotificationSetup): (nn: AppNotificationInfo) => void;