import { nodeType } from "@/enums/element";
import { elementAttributeType } from "@/enums/attribute";
declare global {
  interface IBaseElement {
    name: string;
    children: Array<IBaseElement>;
    parent?: IBaseElement;
    type: nodeType;
    id: string;
    attribute: IAttribute;
  }
  interface IAttribute {
    self: Array<IAttributeValue>;
    parent: Array<IAttributeValue>;
  }
  interface IAttributeValue {
    id: string;
    name: string;
    parentId?: string;
    type: elementAttributeType;
    options: Array<IOption>;
    ref: IBaseElement;
    prop: ITimeProp | IOptionProp;
    value: any;
  }
  interface IOption {
    name: string;
    id: string;
    value: string;
  }
}
export { };
