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