import { UseMutationOptions, UseMutationResult } from "@tanstack/react-query"; import { TRegisterData } from "../../../interfaces"; export declare type UseRegisterProps = { mutationOptions?: Omit, "mutationFn" | "onError" | "onSuccess">; }; /** * `useRegister` calls `register` method from {@link https://refine.dev/docs/api-references/providers/auth-provider `authProvider`} under the hood. * * @see {@link https://refine.dev/docs/core/hooks/auth/useRegister} for more details. * * @typeParam TData - Result data of the query * @typeParam TVariables - Values for mutation function. default `{}` * */ export declare const useRegister: ({ mutationOptions, }?: UseRegisterProps) => UseMutationResult; //# sourceMappingURL=index.d.ts.map