import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query"; import type { AuthActionResponse } from "../../../contexts/auth/types"; import type { RefineError } from "../../../contexts/data/types"; export type UseUpdatePasswordProps = { mutationOptions?: Omit, "mutationFn">; }; export type UseUpdatePasswordReturnType = UseMutationResult; /** * `useUpdatePassword` calls `updatePassword` method from {@link https://refine.dev/docs/api-reference/core/providers/auth-provider `authProvider`} under the hood. * * @see {@link https://refine.dev/docs/api-reference/core/hooks/auth/useUpdatePassword} for more details. * * @typeParam TVariables - Values for mutation function. default `{}` * */ export declare function useUpdatePassword({ mutationOptions, }?: UseUpdatePasswordProps): UseUpdatePasswordReturnType; //# sourceMappingURL=index.d.ts.map