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