import { ElementEnhancementGateway, SpawnContext } from "../assign-gingerly/types"; export interface EndUserProps{ noNudge: boolean; options: DirectoryPickerOptions; } export interface AllProps extends EndUserProps{ enhancedElement: Element; directoryHandle: FileSystemDirectoryHandle | undefined; 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; }