import { InlineTool, SanitizerConfig } from '@editorjs/editorjs'; import { ParagraphStyleTool } from './tool-type/paragraph-style-tool.component'; /** * Indent formatting tool for EditorJS * Allows applying indentation to selected text or entire blocks */ export declare class IndentTool extends ParagraphStyleTool implements InlineTool { static title: string; private readonly commandName; tag: string; classes: string; input: number; CSS: { button: string; buttonActive: string; buttonModifier: string; }; nodes: { button: HTMLButtonElement | null; }; private selectedBlocksService; api: any; private _state; static get isInline(): boolean; static get sanitize(): SanitizerConfig; get state(): boolean; set state(state: boolean); constructor({ api }: { api: any; }); /** * Creates and configures the tool button */ render(): HTMLElement; /** * Applies indent formatting to selected text or selected blocks */ surround(range: Range | null): Promise; /** * Applies indent formatting to all selected blocks */ private applyIndentToSelectedBlocks; /** * Applies indent formatting to a specific block */ private applyIndentToBlock; /** * Applies indent formatting to a block element */ private applyIndentToBlockElement; /** * Finds the current container element within the block element */ private findCurrentContainer; /** * Applies indent class to the container element */ private applyIndentClass; /** * Gets a block by its ID */ private getBlockById; /** * Gets the block element */ private getBlockElement; /** * Checks the tool state based on selection */ checkState(selection: Selection | null): boolean; }