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