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