import { Pipeline } from '../pipeline'; type TokenObject = { key: string; client_id?: string; token_type?: string; access_token: string; refresh_token?: string; expires?: number; auto_login?: boolean; created_unix?: number; [key: string]: any; }; export type LoginMethodOptions = { type: string; client_id?: string; data: any; auto_login?: boolean; }; declare class LoginMethods { private methods; use(type: string, callbackFn: (options: LoginMethodOptions) => Promise): void; exec(options: LoginMethodOptions): Promise; } export declare class TokenService { static diOptions: { name?: string; scope?: import("@jsmodules/di/dist/es/binding").BindingScope; }; static get interceptors(): { getTokenObject: Pipeline; getSecurityHeaders: Pipeline; loginMethods: LoginMethods; getStorageKey: Pipeline; }; private get tokenStore(); constructor(); private get storageKey(); private currents; getTokenObject(): Promise; login(options: LoginMethodOptions): Promise; logout(): Promise; getAccessToken(): Promise; getSecurityHeaders(): Promise; } export {}; //# sourceMappingURL=index.d.ts.map