@manekinekko/angular-web-bluetooth
Version:
The missing Web Bluetooth module for Angular
18 lines (17 loc) • 962 B
TypeScript
import { ModuleWithProviders, InjectionToken } from '@angular/core';
import { BrowserWebBluetooth } from './platform/browser';
import { ConsoleLoggerService, NoLoggerService } from './logger.service';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
export interface AWBOptions {
enableTracing?: boolean;
}
export declare function browserWebBluetooth(): BrowserWebBluetooth;
export declare function consoleLoggerServiceConfig(options: AWBOptions): ConsoleLoggerService | NoLoggerService;
export declare function makeMeTokenInjector(): InjectionToken<unknown>;
export declare class WebBluetoothModule {
static forRoot(options?: AWBOptions): ModuleWithProviders<WebBluetoothModule>;
static ɵfac: i0.ɵɵFactoryDeclaration<WebBluetoothModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<WebBluetoothModule, never, [typeof i1.CommonModule], never>;
static ɵinj: i0.ɵɵInjectorDeclaration<WebBluetoothModule>;
}