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