UNPKG

513 BTypeScriptView Raw
1import { google } from './types';
2export declare interface LoaderOptions {
3 version?: string;
4 client?: string;
5 channel?: string;
6 language?: string;
7 region?: string;
8 libraries?: Array<string>;
9}
10export declare class Loader {
11 private apiKey;
12 private options;
13 private static CALLBACK_NAME;
14 private loader;
15 private resolve;
16 private reject;
17 private api;
18 constructor(apiKey?: string, options?: LoaderOptions);
19 load(): Promise<google>;
20 private createUrl;
21}