adnbn
Version: 
Addon Bone - Cross-browser web extension framework with shared code base
16 lines (13 loc) • 679 B
TypeScript
import { DeepAsyncProxy } from '../types/helpers.js';
import { TransportType, TransportDictionary } from '../types/transport.js';
import { ServiceDefinition } from '../types/service.js';
import 'utility-types';
import '../manifest-DAV18Z2K.js';
import 'react';
import '../types/app.js';
import '../types/browser.js';
import '../types/locale.js';
import '../types/message.js';
declare const defineService: <T extends TransportType>(options: ServiceDefinition<T>) => ServiceDefinition<T>;
declare const getService: <N extends Extract<keyof TransportDictionary, string>>(name: N) => DeepAsyncProxy<TransportDictionary[N]>;
export { ServiceDefinition, defineService, getService };