import { ElementEnhancementGateway, SpawnContext } from "../assign-gingerly/types"; export interface EndUserProps{ whenDefined: string[]; } export interface AllProps extends EndUserProps{ enhancedElement: Element; resolved: boolean; } export type AP = AllProps; export type PAP = Partial; export type ProPAP = Promise; export interface Actions{ init(self: AP, enhancedElement: Element & ElementEnhancementGateway, ctx: SpawnContext, initVals: PAP): Promise; inferFromParent(self: AP): ProPAP; onWhenDefined(self: AP): ProPAP; }