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