import { BridgeAPI , UserScriptAPI , createMaskSDKChannel , serializer } from '../shared' ; import { AsyncCall , _AsyncVersionOf } from 'async-call-rpc' ; export type { BridgeAPI , UserScriptAPI , InitInformation } from '../shared' ; export function createMaskSDKServer ( api , signal ? ) { return AsyncCall < UserScriptAPI > ( api , { serializer , channel : createMaskSDKChannel ( 'content' ) , log : true , thenable : false , } ) ; }