import { Button } from '@/components/button/v4'; import { VNode } from 'vue'; export declare const snackbarEmits: { destroy: () => boolean; }; export declare const snackbarTypes: readonly ["success", "info", "error"]; export type SnackbarEmits = typeof snackbarEmits; type ButtonProps = InstanceType['$props']; export interface SnackbarProps { customClass: string; dangerouslyUseHTMLString: boolean; duration?: number; icon: string; id: string; message: string | VNode; offset: number; onClick: () => void; onClose: () => void; type: 'success' | 'error' | 'info'; position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; showClose?: boolean; title?: string; actionButtons: ButtonProps[]; zIndex?: number; testId?: string; } export type SnackbarOptions = Omit & { appendTo?: HTMLElement | string; }; export type SnackbarOptionsTyped = Omit; export interface SnackbarHandle { close: () => void; } export type SnackbarParams = Partial | string | VNode; export type SnackbarParamsTyped = Partial | string | VNode; export type NotifyFn = ((options?: SnackbarParams) => SnackbarHandle) & { closeAll: () => void; }; export type NotifyTypedFn = (options?: SnackbarParamsTyped) => SnackbarHandle; export interface Notify extends NotifyFn { success: NotifyTypedFn; error: NotifyTypedFn; } export interface SnackbarQueueItem { vm: VNode; } export type SnackbarQueue = SnackbarQueueItem[]; export {};