export declare function wrapJSGlobalFunction(fun: any): (sec: any, ...args: any[]) => any;