import { IEnhancement, BEAllProps } from '../trans-render/be/types'; export interface EndUserProps extends IEnhancement{ triggerInsertPosition: InsertPosition; buttonContent: string; } export interface AllProps extends EndUserProps{ byob?: boolean, trigger: WeakRef } export type AP = AllProps; export type PAP = Partial; export type ProPAP = Promise; export type BAP = AP & BEAllProps; export interface Actions{ addDeleteBtn(self: BAP): ProPAP ; setBtnContent(self: BAP): void; beDeleted(self: BAP): void; }