import { InlineTool, SanitizerConfig } from '@editorjs/editorjs'; import { ParagraphStyleTool } from './tool-type/paragraph-style-tool.component'; /** * Outdent formatting tool for EditorJS * Allows removing indentation from selected text or entire blocks */ export declare class OutdentTool 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 outdent formatting to selected text or selected blocks */ surround(range: Range | null): Promise; /** * Applies outdent formatting to all selected blocks */ private applyOutdentToSelectedBlocks; /** * Applies outdent formatting to a specific block */ private applyOutdentToBlock; /** * Applies outdent formatting to a block element */ private applyOutdentToBlockElement; /** * Finds the current container element within the block element */ private findCurrentContainer; /** * Applies outdent class to the container element */ private applyOutdentClass; /** * 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; }