/** * Use the composable `useSignInAnonymous` to sign in a user anonymously. * * As a result, the user will have the `anonymous` role and subsequent set of permissions. * The user can then be converted to a regular user at a later stage using email+password sign-up, passwordless email (magic link), or passwordless SMS. * * @example * ```tsx * const { signInAnonymous, isLoading, isSuccess, isError, error } = useSignInAnonymous() * * watchEffect(() => { * console.log(isLoading.value, isSuccess.value, isError.value, error.value); * }) * * const handleFormSubmit = async (e) => { * e.preventDefault(); * * await signInAnonymous(); * } * ``` * * @docs https://docs.nhost.io/reference/vue/use-sign-in-anonymous */ export declare const useSignInAnonymous: () => { signInAnonymous: () => Promise; isLoading: import('vue').Ref; isSuccess: import('vue').Ref; isError: import('vue').Ref; error: import('vue').Ref; }; //# sourceMappingURL=useSignInAnonymous.d.ts.map