import * as TnsOAuth from './tns-oauth-interfaces'; export * from './tns-oauth-interfaces'; export declare var instance: TnsOAuth.ITnsAuthHelper; export declare function initOffice365(options: TnsOAuth.ITnsOAuthOptionsOffice365): Promise; export declare function initFacebook(options: TnsOAuth.ITnsOAuthOptionsFacebook): Promise; export declare function initGoogle(options: TnsOAuth.ITnsOAuthOptionsGoogle): Promise; export declare function initUaa(options: TnsOAuth.ITnsOAuthOptionsUaa): Promise; export declare function initLinkedIn(options: TnsOAuth.ITnsOAuthOptionsLinkedIn): Promise; export declare function initSalesforce(options: TnsOAuth.ITnsOAuthOptionsSalesforce): Promise; export declare function initCustom(options: TnsOAuth.ITnsOAuthOptionsCustom): Promise; export declare function accessToken(): string; export declare function login(successPage?: string): Promise; export declare function logout(successPage?: string): Promise; export declare function accessTokenExpired(): boolean; export declare function ensureValidToken(): Promise;