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