import { WrText } from '../../../model/document';
import { LayoutContext } from '../../LayoutContext';
import { TextRun } from '../../../view/runs/TextRun';
import { RunHandlerBase } from '../RunHandlerBase';
import { TableCell } from '../../../view/TableCell';
import { HandlerContext } from '../../types';
import { DataSlotIndex } from '../../../view/types';
export declare abstract class WidgetBaseHandler extends RunHandlerBase {
    context: LayoutContext;
    wr: WrText;
    constructor(ctx: HandlerContext);
    /** 获取所在单元格 */
    getCell(): TableCell | null;
    getDataIndex(init?: 0 | null): number | null;
    getModelRefId(): string;
    getDataSlotIndex(): DataSlotIndex | undefined;
    getLayoutStyle(): ReturnType<typeof TextRun.textStyle2LayoutStyle>;
    abstract layout(): void;
}
