/** * @license * Copyright Stbui All Rights Reserved. * https://github.com/stbui/prophet */ declare type Logout = (params?: any, redirectTo?: string, redirectToCurrentLocationAfterLogin?: boolean) => Promise; /** * * @example * * import { useLogout } from 'prophet-core'; * * const LoginButton = () => { * const logout = useLogout(); * const onClick = () => logout(); * return