import { Group, Line } from '@antv/g';
import type { FrameConfig } from '../../common/interface';
import type { SpreadSheet } from '../../sheet-type';
export declare class Frame extends Group {
    cfg: FrameConfig;
    cornerRightBorder: Line;
    cornerBottomBorder: Line;
    constructor(cfg: FrameConfig);
    layout(): void;
    /**
     * 渲染
     */
    render(): void;
    static getHorizontalBorderWidth(spreadsheet: SpreadSheet): number;
    static getVerticalBorderWidth(spreadsheet: SpreadSheet): number;
    onBorderScroll(scrollX: number): void;
    onChangeShadowVisibility(scrollX: number, maxScrollX: number): void;
    protected getCornerRightBorderSizeForPivotMode(): {
        y: number;
        height: number;
    };
    protected addCornerRightHeadBorder(): void;
    protected addCornerRightBorder(): void;
    protected addCornerBottomBorder(): void;
    protected addSplitLineShadow(): void;
    protected addSplitLineLeftShadow(): void;
    protected addSplitLineRightShadow(): void;
}
