UNPKG

536 BTypeScriptView Raw
1import Bearer, { TBearerOptions } from './bearer';
2import { I18n } from './i18n';
3/**
4 * @param {string} clientId Client ID you'll find within the developer portal > Settings
5 * @param {Partial<TBearerOptions>} options? Fine tune bearer functionalities
6 */
7declare const bearer: TBearer;
8export declare type TBearer = {
9 (clientId: string, options?: Partial<TBearerOptions>): Bearer;
10 instance: Bearer;
11 version: string;
12 i18n: I18n;
13 secured: boolean;
14 _instance?: Bearer;
15};
16export default bearer;