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 UseRegisterProps = { mutationOptions?: Omit, "mutationFn">; }; export type UseRegisterReturnType = UseMutationResult; /** * `useRegister` calls `register` 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/useRegister} for more details. * * @typeParam TVariables - Values for mutation function. default `{}` * */ export declare function useRegister({ mutationOptions, }?: UseRegisterProps): UseRegisterReturnType; //# sourceMappingURL=index.d.ts.map