UNPKG

@alauda/doom

Version:

Doctor Doom making docs.

9 lines (8 loc) 444 B
import type { AuthInfo, CloudAuth } from './types.ts'; export declare const setLocalStorage: (key: string, value?: string | null) => void; export declare const getAuthInfoFromToken: (token?: string | null) => AuthInfo | undefined; export declare const isLoggedIn: (authInfo: CloudAuth | null) => authInfo is CloudAuth & { detail: AuthInfo; }; export declare const isIoSite: () => boolean; export declare const getCloudOrigin: () => string;