UNPKG

@dvcol/neo-svelte

Version:

Neomorphic ui library for svelte 5

17 lines (16 loc) 961 B
import type { NeoNotificationStackProps } from './neo-notification-stack.model.js'; import type { NeoNotification, NeoNotificationDeQueued, NeoNotificationQueued } from './neo-notification.model.js'; declare const NeoNotificationStack: import("svelte").Component<NeoNotificationStackProps<"ol">, { add: (item: NeoNotification) => NeoNotificationQueued; get: (uuid: string) => NeoNotificationQueued | undefined; remove: (uuid: string, status?: "cancelled") => NeoNotificationDeQueued; update: (uuid: string, update: Omit<NeoNotification, "id">) => NeoNotificationQueued; restart: (uuid: string, options?: { duration?: number; unshift?: boolean; }) => NeoNotificationQueued; clear: () => void; pause: (_paused?: boolean) => void | Promise<void>; }, "id" | "ref" | "hovered" | "focused" | "paused" | "queue">; type NeoNotificationStack = ReturnType<typeof NeoNotificationStack>; export default NeoNotificationStack;