import { InlineTool, InlineToolConstructorOptions, SanitizerConfig } from '@editorjs/editorjs'; import { TextEditionTool } from './tool-type/text-edition.component'; export type RedoToolConfig = { redo: () => void; }; export declare class RedoTool extends TextEditionTool implements InlineTool { static title: string; private readonly commandName; CSS: { button: string; buttonActive: string; buttonModifier: string; }; nodes: { button: HTMLButtonElement | null; }; api: any; private _state; tag: string; static get isInline(): boolean; static get sanitize(): SanitizerConfig; get state(): boolean; set state(state: boolean); private config; constructor({ api, config }: InlineToolConstructorOptions); render(): HTMLButtonElement; surround(range: Range): Promise; checkState(selection: Selection | null): boolean; redo(): void; }