export interface EndUserProps{ closeOnSelect: boolean; eventName: string; } export interface AllProps extends EndUserProps { enhancedElement: Element; } export type AP = AllProps; export type PAP = Partial; export type ProPAP = Promise; export interface Actions{ init(self: AllProps, enhancedElement: Element, initVals: PAP): void; hydrate(self: AP): PAP | void }