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