import {IEnhancement, BEAllProps} from '../trans-render/be/types'; import {USL} from '../trans-render/XV/types' export interface EndUserProps extends IEnhancement{ readVerb: 'readAsText' | 'readAsDataURL' | 'readAsArrayBuffer' | 'readAsBinaryString'; writeTo: USL; } export type FileAndContents = [File, any]; export interface AllProps extends EndUserProps{ fileContents: Array; writtenTo: Array; } export type AP = AllProps; export type PAP = Partial; export type ProPAP = Promise; export type BAP = AP & BEAllProps; export interface Actions { hydrate(self: BAP): ProPAP, storeFileContents(self: BAP): ProPAP, }