import { API, BlockTool, BlockToolData, ToolConfig } from "@editorjs/editorjs"; interface MultipleChoiceQuestionData extends BlockToolData { label: string; help: string; options: string[]; required: boolean; } export default class MultipleChoiceQuestion implements BlockTool { settings: { name: string; icon: string; }[]; api: API; config: ToolConfig; data: any; readOnly: boolean; block: any; wrapper: undefined | HTMLElement; nodes: { holder: HTMLElement; }; static get toolbox(): { icon: string; title?: string; }; static get isReadOnlySupported(): boolean; constructor({ data, config, api, readOnly, }: { api: API; config?: ToolConfig; data?: MultipleChoiceQuestionData; block?: any; readOnly: boolean; }); renderSettings(): HTMLElement; /** * @private * Click on the Settings Button * @param {string} tune — tune name from this.settings */ _toggleTune(tune: any): void; render(): HTMLElement; save(): any; } export {};