import type { Y } from '@blockeditor/store';
import type { SerializedXYWH } from '../index.js';
import { type BaseProps, ElementModel } from './base.js';
import type { FontFamily, FontStyle, FontWeight } from './common.js';
export type TextElementProps = BaseProps & {
    text: Y.Text;
    color: string;
    fontSize: number;
    fontFamily: FontFamily;
    fontWeight?: FontWeight;
    fontStyle?: FontStyle;
    textAlign: 'left' | 'center' | 'right';
    hasMaxWidth?: boolean;
};
export declare class TextElementModel extends ElementModel<TextElementProps> {
    xywh: SerializedXYWH;
    rotate: number;
    text: Y.Text;
    color: string;
    fontSize: number;
    fontFamily: FontFamily;
    fontWeight?: FontWeight;
    fontStyle?: FontStyle;
    textAlign: 'left' | 'center' | 'right';
    hasMaxWidth?: boolean;
    get type(): string;
}
//# sourceMappingURL=text.d.ts.map