import { ActionOnEventConfigs } from "trans-render/froop/types"; import {JSONValue} from 'trans-render/lib/types'; import {IEnhancement, BEAllProps} from 'trans-render/be/types'; //export type TMicroElement = HTMLLinkElement | HTMLMetaElement | HTMLDataElement | HTMLTimeElement; export interface BVAEndUserProps extends IEnhancement{ beVigilant?: boolean; value?: string | boolean | number | Date | JSONValue; } export interface BVAAllProps extends BVAEndUserProps{ attached?: boolean; mutOptions?: MutationObserverInit; valueFromTextContent?: boolean; } // export interface Output{ // attr: string, // val: string, // } export type BVAP = Partial export interface BVAActions{ hydrate(self: BVAAllProps): BVAP; parseAttr(self: BVAAllProps): BVAP; onValChange(self: this): void; obs(self: this): void; obsTC(self: this): BVAP; obsAttr(self: this): BVAP; } export type PropTypes = 'href' | 'content' | 'value' | 'dateTime' | 'textContent'