import { schema } from '../../useBlockNote'; export declare const alertMenuItem: (editor: typeof schema.BlockNoteEditor) => { key: "alert"; title: string; subtext: string; onItemClick: () => void; aliases: string[]; group: string; icon: import("react").JSX.Element; }; export declare const alertTypes: readonly [{ readonly title: "Warning"; readonly value: "warning"; readonly icon: import('react-icons').IconType; readonly color: "#e69819"; readonly backgroundColor: { readonly light: "#fff6e6"; readonly dark: "#805d20"; }; }, { readonly title: "Error"; readonly value: "error"; readonly icon: import('react-icons').IconType; readonly color: "#d80d0d"; readonly backgroundColor: { readonly light: "#ffe6e6"; readonly dark: "#802020"; }; }, { readonly title: "Info"; readonly value: "info"; readonly icon: import('react-icons').IconType; readonly color: "#507aff"; readonly backgroundColor: { readonly light: "#e6ebff"; readonly dark: "#203380"; }; }, { readonly title: "Success"; readonly value: "success"; readonly icon: import('react-icons').IconType; readonly color: "#0bc10b"; readonly backgroundColor: { readonly light: "#e6ffe6"; readonly dark: "#208020"; }; }]; /** * @see https://www.blocknotejs.org/docs/custom-schemas/custom-blocks * 可自訂 toExternalHTML & parse */ export declare const Alert: (options?: undefined) => import('@blocknote/core').BlockSpec<"alert", { readonly type: { readonly default: "info"; readonly values: readonly ["warning", "error", "info", "success"]; }; }, "inline">;