/** * General purpose struct to pass data around * * enables simplistic data transfer and identification */ export interface Payload { pid: string; data: any; } export declare namespace Payload { const make: (pid: string, data: any) => Payload; }