import type { UseMutationOptions } from '@tanstack/react-query' import { z } from 'zod' import AuthApi from '../../../services/auth' type ApiClass = Pick export type ChangePasswordForm = { currentPassword: string newPassword: string confirmNewPassword: string } export interface UseChangePassword { token?: string validationSchema?: z.ZodType defaultValues?: ChangePasswordForm options?: UseMutationOptions ApiClass?: ApiClass enableFormApiErrors?: boolean }