import type { INatureOption } from '../option'; import type { IRectangleShape } from './i-rectangle-shape'; export interface INature extends IRectangleShape { new (option: INatureOption, hoverOption: INatureOption, errorOption: INatureOption, id?: string): INature; setNatures(natures: Array): void; getNatures(): Array; hasNature(nature: string): boolean; addNature(nature: string): void; removeNature(nature: string): void; }