import { Node } from '@tiptap/core'; export type AlertAttrs = { type?: 'info' | 'warning' | 'error' | 'success'; title?: string; message?: string; align?: 'left' | 'center' | 'right'; size?: 'small' | 'medium' | 'large'; textAlign?: 'left' | 'center' | 'right'; }; declare module '@tiptap/core' { interface Commands { alertWidget: { setAlertWidget: (attrs?: AlertAttrs) => ReturnType; }; } } declare const AlertWidget: Node; export default AlertWidget;