import { ActionHandlerInterceptor } from '../../../dto/action-handle-strategies/action-handle-interceptor.abstract';
import { DeleteBlockContentAction } from '../../../dto/actions/delete-block-content-action';
import type { RTETextBlock } from '../../../dto/blocks/text-block';
/**
 * Interceptor to prevent deletion of a table cell if it is the cell with empty content.
 */
export declare class PreventCellContentDeleteInterceptor extends ActionHandlerInterceptor<DeleteBlockContentAction, RTETextBlock> {
  /**
   * Prevent deletion if the target block is the only child of a table cell and is empty.
   *
   * @param {DeleteBlockContentAction} action - the action to be intercepted
   * @param {RTETextBlock} target - the target block
   * @returns {boolean} - true if the deletion should be intercepted, false otherwise
   */
  canIntercept(action: DeleteBlockContentAction, target: RTETextBlock): boolean;
  /**
   * @inheritDoc
   */
  intercept(): void;
}
