import { Nullable } from '../../../../../types/general';
import { RTERenderContext, VegaRTEToolbarRenderContext } from '../../../interface';
import { RTETableExtensionContext } from '../table-extension';
/**
 * Base renderer for table-related popovers, providing common functionalities such as accessing the table extension context.
 */
export declare class TablePopoverBaseRenderer {
  protected renderContext: Nullable<RTERenderContext | VegaRTEToolbarRenderContext>;
  constructor(renderContext: RTERenderContext | VegaRTEToolbarRenderContext);
  /**
   * Retrieves the table extension context associated with the current render context.
   *
   * @returns {Nullable<RTETableExtensionContext>} The table extension context if available, otherwise null.
   */
  protected getTableExtensionContext(): Nullable<RTETableExtensionContext>;
}
