import { LexicalCommand, LexicalEditor } from 'lexical'; import { type JSX } from 'react'; import { AlertColor } from '@mui/material/Alert'; type CommandPayload = { text: string; severity: AlertColor; }; export declare const INSERT_ALERT_COMMAND: LexicalCommand; export default function AlertPlugin(): JSX.Element | null; export declare const $insertAlert: (editor: LexicalEditor, severity: AlertColor) => void; export {};