1 | import { XhrModule } from "./xhr";
|
2 | export declare class BootstrapModule {
|
3 | private xhr;
|
4 | constructor(xhr: XhrModule);
|
5 | /**
|
6 | * Returns information about currently logged in user from bootstrap resource
|
7 | * @method getBootstrapData
|
8 | */
|
9 | getBootstrapData(): Promise<any>;
|
10 | /**
|
11 | * Returns the mapboxToken for using GeoPushpinChart
|
12 | * @method getMapboxToken
|
13 | * @param {any} bootstrapData - data from bootstrap resource
|
14 | */
|
15 | getMapboxToken(bootstrapData: any): string | null;
|
16 | }
|