import {IEnhancement, BEAllProps} from '../trans-render/be/types'; import { HasIshList } from '../trans-render/dss/types'; export interface EndUserProps extends IEnhancement{ each: string; mapIdxTo: string; idxStart: number; idleTimeout: number; options: Partial; // parsedStatements: Array, // rawStatements?: Array, } export interface AllProps extends EndUserProps{ listScope: string; //itemProp: string; itemScopes: Array; itemTemplates: Array; emc: any; //loopingParameters: Array, ish: any; ishContainer: Element; } export type AP = AllProps; export type PAP = Partial; export type ProPAP = Promise; export type BAP = AP & BEAllProps; export interface Actions{ parse(self: BAP): PAP; init(self: BAP): ProPAP; hydrate(self: BAP) } // export interface LoopingStatement { // listProp?: string; // itemProp: string; // } // export interface LoopingParameters extends LoopingStatement { // listProp: string; // ish: any; // ishContainer: Element; // }