import { StatementsResult } from "../nested-regex-groups/types"; import { ElementEnhancementGateway, SpawnContext } from "../assign-gingerly/types"; export interface RemoteSpecifier { id?: string; prop?: string; path?: string; evtName?: string; as?: 'number' | 'boolean' | 'string' | 'object'; } export interface DataPropsParameters { remoteSpecifiers: Array; } export interface EndUserProps { parsedStatements: StatementsResult; } 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; hydrate(self: AP): ProPAP; }