import { CreateToasterReturn } from "@chakra-ui/react"; import { Resource } from "@open-pioneer/core"; import { ApplicationContext, ServiceOptions } from "@open-pioneer/runtime"; import type { NotificationOptions, NotificationService, SimpleNotificationOptions } from "./api"; export type ToasterObject = CreateToasterReturn; export interface ToastMeta { closable: boolean; } export interface InternalNotificationAPI extends NotificationService { readonly toaster: ToasterObject; registerUI(): Resource | undefined; } interface References { appCtx: ApplicationContext; } export declare class NotificationServiceImpl implements InternalNotificationAPI { #private; readonly toaster: ToasterObject; constructor({ properties }: ServiceOptions); destroy(): void; notify(options: NotificationOptions): void; success(options: SimpleNotificationOptions): void; info(options: SimpleNotificationOptions): void; warning(options: SimpleNotificationOptions): void; error(options: SimpleNotificationOptions): void; closeAll(): void; registerUI(): Resource | undefined; } export {};