import { Api, Auth, ExternalModuleEntity, InsertData, Module, ModuleEntity, NexusConfig } from 'bf-lib'; import { Multitool } from 'bf-lib/multitool'; import { ClientConfigSettings } from './common'; import { ConnectionType, LiveEvent, LiveSync, LiveSyncBeginOptions, LiveSyncConfig, LiveSyncConnectionOptions } from './livesync'; export { Api, Auth, LiveSync, Module, ClientConfigSettings, ConnectionType, NexusConfig, LiveEvent, LiveSyncConfig, LiveSyncConnectionOptions, LiveSyncBeginOptions, InsertData, ModuleEntity, ExternalModuleEntity, }; export declare type ConfigSettings = { nexus: NexusConfig; client: ClientConfigSettings; livesync: LiveSyncConfig; logging: boolean; }; export interface BfLibBrowser { api: Api; auth: Auth; livesync: LiveSync; module: Module; multitool: Multitool; service?: (service: string) => Pick | false; } export default function bflib(settings: ConfigSettings): Promise;