import { MutationOptions } from '@tanstack/query-core';
import { BetterFetchError } from 'better-auth/client';
import { OneTapAuthClient } from './one-tap-auth-client';
export type PromptOneTapParams<TAuthClient extends OneTapAuthClient> = NonNullable<Parameters<TAuthClient["oneTap"]>[0]>;
/** Mutation options factory for opening the Google One Tap prompt. */
export declare function promptOneTapOptions<TAuthClient extends OneTapAuthClient>(authClient: TAuthClient): MutationOptions<Awaited<ReturnType<(params: PromptOneTapParams<TAuthClient>) => Promise<void>>>, BetterFetchError, Parameters<(params: PromptOneTapParams<TAuthClient>) => Promise<void>>[0]>;
