import { QueryClient } from '@tanstack/react-query'; import { BetterFetchError } from 'better-auth/react'; import { PasskeyAuthClient } from '../../lib/auth-client'; export type DeletePasskeyParams = Parameters[0]; export type DeletePasskeyOptions = Omit>, "mutationKey" | "mutationFn" | "meta">; /** * Mutation options factory for deleting a passkey. * * @param authClient - The Better Auth client. */ export declare function deletePasskeyOptions(authClient: TAuthClient): import('@tanstack/query-core').WithRequired, unknown>, "mutationKey">; /** * Create a mutation for deleting a passkey. * * On success, `MutationInvalidator` awaits invalidation of the user's * passkey list (see `meta.awaits`). * * @param authClient - The Better Auth client with the passkey plugin. * @param options - React Query options forwarded to `useMutation`. */ export declare function useDeletePasskey(authClient: TAuthClient, options?: DeletePasskeyOptions, queryClient?: QueryClient): import('@tanstack/react-query').UseMutationResult<{ status: boolean; }, BetterFetchError, DeletePasskeyParams, unknown>;