import type { PointLike } from '@antv/g';
import { CellType, ResizeAreaEffect } from '../common/constant';
import type { FormatResult } from '../common/interface';
import { CellBorderPosition, ContentPositionParams } from '../common/interface';
import type { CornerHeaderConfig } from '../facet/header/interface';
import { HeaderCell } from './header-cell';
export declare class CornerCell extends HeaderCell<CornerHeaderConfig> {
    get cellType(): CellType;
    protected isBolderText(): boolean;
    protected getBorderPositions(): CellBorderPosition[];
    protected initCell(): void;
    protected afterDrawText(): void;
    private onTreeIconClick;
    private emitCollapseEvent;
    /**
     * 绘制折叠展开的 icon
     */
    protected drawTreeIcon(): void;
    protected isLastRowCornerCell(): boolean;
    protected getResizeAreaEffect(): ResizeAreaEffect.Field | ResizeAreaEffect.Tree | ResizeAreaEffect.Series;
    protected drawResizeArea(): void;
    protected showTreeIcon(): boolean;
    protected getTreeIconWidth(): number;
    getMaxTextWidth(): number;
    getContentPosition({ contentWidth, }?: ContentPositionParams): PointLike;
    protected getTextPosition(): PointLike;
    protected getFormattedFieldValue(): FormatResult;
    protected getResizedTextMaxLines(): number | undefined;
}
