/** * This toast system is inspired by Sonner by Emil Kowalski. * The architecture and API ideas were adapted for this project. * https://github.com/emilkowalski/sonner */ import * as React from 'react'; export declare const useToast: (inProps?: unknown) => import("@primereact/types/core").HeadlessInstance) => void; onPointerMove: (event: React.PointerEvent) => void; onPointerUp: () => void; onDragEnd: () => void; 'data-swipe-out'?: "" | undefined; 'data-front'?: "" | undefined; 'data-expanded'?: "" | undefined; 'data-dismissible'?: "" | undefined; 'data-swiping'?: "" | undefined; 'data-visible'?: "" | undefined; 'data-swiped'?: "" | undefined; 'data-removed'?: "" | undefined; 'data-mounted'?: "" | undefined; ref: (node: HTMLElement | null) => void; 'data-scope': "toast"; 'data-part': "root"; tabIndex: number; role: "alert"; inert: boolean; 'aria-live': "assertive"; 'aria-atomic': "true"; 'aria-hidden': boolean; 'data-swipe-direction': "left" | "right" | "up" | "down" | null; 'data-index': number; }; actionProps: { 'data-scope': "toast"; 'data-part': "action"; }; contentProps: { 'data-scope': "toast"; 'data-part': "content"; }; closeProps: { 'data-scope': "toast"; 'data-part': "close"; onClick: () => void; }; messageProps: { 'data-scope': "toast"; 'data-part': "message"; }; descriptionProps: { 'data-scope': "toast"; 'data-part': "description"; }; iconProps: { 'data-scope': "toast"; 'data-part': "icon"; }; titleProps: { 'data-scope': "toast"; 'data-part': "title"; }; onPointerDown: (event: React.PointerEvent) => void; onPointerMove: (event: React.PointerEvent) => void; onPointerUp: () => void; onDragEnd: () => void; handleCloseOnClick: () => void; }>;