import { type UseMutationOptions, type UseMutationResult } from "@tanstack/react-query"; import type { AuthActionResponse, TForgotPasswordData } from "../../../contexts/auth/types"; import type { RefineError } from "../../../contexts/data/types"; export type UseForgotPasswordProps = { mutationOptions?: Omit, "mutationFn">; }; export type UseForgotPasswordReturnType = UseMutationResult; /** * `useForgotPassword` calls `forgotPassword` 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/useForgotPassword} for more details. * * @typeParam TVariables - Values for mutation function. default `{}` * */ export declare function useForgotPassword({ mutationOptions, }?: UseForgotPasswordProps): UseForgotPasswordReturnType; //# sourceMappingURL=index.d.ts.map