type ComposedJSBridge = { // eslint-disable-next-line camelcase callDeviceApi: (a: { apiName: string; callback: Functon; onError?: (e: any) => void; params?: any; key_events?: string[]; }) => void; calledByDevice: (a: { apiName: string; callback: Functon }) => void; }; const regDeviceApi: (isWebPrint?: boolean) => Promise; export default regDeviceApi;