import type { IPoint } from '../renderer'; export type ShapeExportModelType = 'objectRect' | 'descRect' | 'relation' | 'comment' | 'region' | 'thing'; export interface ILabelModel { id?: string; name?: string; type?: number; mongoId?: string; sortNo?: number; isDeleted?: boolean; labelColor: string; createTime: string; count: number; startIndex: number; endIndex: number; markStyle: number; } export interface IShapeExportModel { id?: string; objLabel: Array; attrLabel: Array; singleLabel: Array; natures: Array; relationLabel: Array; annotations: Array; creator: string; mouseFrom: IPoint; mouseTo: IPoint; relationFrom?: IShapeExportModel; relationTo?: IShapeExportModel; tempId: string; createTime?: string; utcCreatTime?: string; markType: number; type: ShapeExportModelType; operateType?: string; operateIndex?: number; serialNumber?: number; index?: number; color?: string; title?: string; }