/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui/prophet */ interface AuthState { loading: boolean; loaded: boolean; authenticated?: boolean; } /** * * @param params * * @example * * import { useAuthState } from '@stbui/prophet-core'; * * * const MyApp = () => { * const { loading, authenticated } = useAuthState(); * if (loading) { * return ; * } * if (authenticated) { * return
authenticated
; * } * return
; * }; */ declare const useAuthState: (params?: {}) => AuthState; export default useAuthState;