/// <reference types="google.accounts" />
import { APIErrorResponse } from '../serviceHelpers/APIErrorResponse';
import { UserIdentity } from './userIdentity';
export default function signInWithGoogle(response: globalThis.google.accounts.id.CredentialResponse): Promise<UserIdentity | APIErrorResponse>;
