import IMemory from "./IMemory" ; export abstract class PayloadType { ext : string ; constructor ( ext ) { this . ext = ext ; } abstract parse ( file , buf , dest ) ; } export interface IPayloadManager { parseFile ( file ) : any ; registerPayloadType ( type ) : void ; }