import { CADFiler } from "../CADFiler";
import { DimStyleKeyCode } from "../DimStyle/DimstyleKeyCodeEnum";
import { Entity } from "../Entity/Entity";
import { ObjectId } from "../ObjectId";
import { Text } from "../Text/Text";
export declare abstract class Dimension extends Entity {
    OnlyRenderType: boolean;
    protected _TextString: string;
    protected _Text: Text;
    get Material(): ObjectId;
    set Material(materialId: ObjectId);
    protected _DimStyle: ObjectId;
    protected _DimStyleOverride: Map<DimStyleKeyCode, any>;
    GetDimStyleOverrideValue(key: DimStyleKeyCode): any;
    SetDimStyleOverrideValue(key: DimStyleKeyCode, value: any): void;
    DeleteDimStyleOverrideValue(key: DimStyleKeyCode): void;
    ClearDimStyleOverride(): void;
    GetDimStyleValue(key: DimStyleKeyCode): any;
    get DimStyle(): ObjectId;
    /**设置标注样式 */
    set DimStyle(styleId: ObjectId);
    set TextString(txt: string);
    get TextString(): string;
    /**计算文字盒子占用的宽度 */
    get TextBoxWidth(): number;
    get TextSize(): number;
    set TextSize(size: number);
    get FractionDigits(): number;
    set FractionDigits(length: number);
    /**未被修改过的 原始显示字符串,供内部使用 实际文字需要使用.TextString */
    protected abstract GetPrimitiveString(): string;
    protected ReadDimStyle(file: CADFiler): void;
    protected WriteDimStyle(file: CADFiler): void;
}
//# sourceMappingURL=Dimension.d.ts.map