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