'use client';

import { useMutation } from '@tanstack/react-query';
import { verifySetup } from './service';
import type { SetupVerificationPayload } from './types';

export function useSetupVerification() {
  return useMutation({
    mutationFn: (payload: SetupVerificationPayload = {}) => verifySetup(payload)
  });
}
