/** * This is an auto generate file from fireback project. * You can use this in order to communicate in backend, it gives you available actions, * and their types * Module: licenses */ import { FormikHelpers } from "formik"; import { QueryClient } from "react-query"; import * as licenses from "./index"; import { RemoteRequestOption, IDeleteResponse, core, IResponse, ExecApi, IResponseList } from "../../core/http-tools"; /** * Gives you formik forms, all mutations, submit actions, and error handling, * and provides internal store for all changes happens through this * for modules */ export declare function useLicenses({ options, query, execFn }: { options: RemoteRequestOption; query?: any; }, queryClient: QueryClient, execFn?: ExecApi): { queryClient: QueryClient; licensesQuery: import("react-query").UseQueryResult, unknown>; licenseByUniqueIdQuery: import("react-query").UseQueryResult, unknown>; mutationPostLicense: import("react-query").UseMutationResult, IResponse, licenses.LicenseEntity, unknown>; submitPostLicense: (values: licenses.LicenseEntity, formikProps?: FormikHelpers) => Promise>; mutationPatchLicense: import("react-query").UseMutationResult, IResponse, licenses.LicenseEntity, unknown>; submitPatchLicense: (values: licenses.LicenseEntity, formikProps?: FormikHelpers) => Promise>; mutationPatchLicenses: import("react-query").UseMutationResult>, IResponse>, core.BulkRecordRequest, unknown>; submitPatchLicenses: (values: core.BulkRecordRequest, formikProps?: FormikHelpers>) => Promise>>; mutationDeleteLicense: import("react-query").UseMutationResult; submitDeleteLicense: (values: string[], formikProps?: FormikHelpers) => Promise; mutationPostLicenseFromPlanByUniqueId: import("react-query").UseMutationResult, IResponse, licenses.LicenseFromPlanIdDto, unknown>; submitPostLicenseFromPlanByUniqueId: (values: licenses.LicenseFromPlanIdDto, formikProps?: FormikHelpers) => Promise>; };