/**
 * Update mutation hook for ResourceModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ResourceModuleSelect, ResourceModuleWithRelations, ResourceModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceModuleSelect, ResourceModuleWithRelations, ResourceModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a ResourceModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateResourceModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', resourceModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateResourceModuleMutation<S extends ResourceModuleSelect>(params: {
    selection: {
        fields: S & ResourceModuleSelect;
    } & HookStrictSelect<NoInfer<S>, ResourceModuleSelect>;
} & Omit<UseMutationOptions<{
    updateResourceModule: {
        resourceModule: InferSelectResult<ResourceModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    resourceModulePatch: ResourceModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateResourceModule: {
        resourceModule: InferSelectResult<ResourceModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    resourceModulePatch: ResourceModulePatch;
}>;
