export interface JsPsychExtensionInfo { name : string ; } export interface JsPsychExtension { /**
     * Called once at the start of the experiment to initialize the extension
     */ initialize ( params ? ) : Promise < void > ; /**
     * Called at the start of a trial, prior to invoking the plugin's trial method.
     */ on_start ( params ? ) : void ; /**
     * Called during a trial, after the plugin makes initial changes to the DOM.
     */ on_load ( params ? ) : void ; returns on_finish ( params ? ) : Record < string , any > ; }