import { ComputedRef } from '@vue/reactivity'; import { Ref } from 'vue'; import { INode } from './INode'; import { IConfiguration } from './IConfiguration'; import { IState } from '../setup/store'; export default interface IUseCommon { state: IState; node: Ref; config: ComputedRef; hasNode: ComputedRef; hasState: ComputedRef; hasConfig: ComputedRef; disabled: ComputedRef; wrapper: Ref; editable: Ref; editing: Ref; focused: Ref; blur: (e: Event) => void; root: { emit: (event: string, ...args: any[]) => void; }; }