import type { IBoundsLike } from '@visactor/vutils';
import type { RectLabelAttrs } from './type';
import { LabelBase } from './base';
import type { ComponentOptions } from '../interface';
export declare class RectLabel extends LabelBase<RectLabelAttrs> {
    static tag: string;
    static defaultAttributes: Partial<RectLabelAttrs>;
    constructor(attributes: RectLabelAttrs, options?: ComponentOptions);
    protected labeling(textBounds: IBoundsLike, graphicBounds: IBoundsLike, position?: string, offset?: number): {
        x: number;
        y: number;
    };
}
export declare const registerRectDataLabel: () => void;
