UNPKG

isa-auth-core

Version:
12 lines (11 loc) 381 B
declare class AuthBaseService { constructor(); initStore(prevState: boolean): void; getAuthState(): boolean; setAuthState(value: boolean): void; getAuthInfo(): any; setAuthInfo(value: any): void; watchAuthState<T extends HTMLElement>(callback: (auth: boolean) => void): void | (() => void); clearAuthState(): void; } export default AuthBaseService;