export interface PublishManifest { description ? : string ; author ? : string ; image : { rows : number ; cols : number ; frameCount : number ; fps : number ; data : Uint8Array | number [ ] ; } ; entry ? : string ; files ? : { [ name ] : ( string | Uint8Array ) ; } ; } export function notifyAboutFork ( fiddle ) { window . parent . postMessage ( { type : "wasm-studio/fork" , fiddle , } , "*" ) ; } export class Arc { public static publish ( manifest ) { window . parent . postMessage ( { type : "wasm-studio/module-publish" , manifest , } , "*" ) ; } }