/**
 * Agent instance registry (human-managed or ephemeral sub-agents)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AgentSelect, AgentWithRelations, AgentPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentSelect, AgentWithRelations, AgentPatch } from '../../orm/input-types';
/**
 * Agent instance registry (human-managed or ephemeral sub-agents)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAgentMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', agentPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAgentMutation<S extends AgentSelect>(params: {
    selection: {
        fields: S & AgentSelect;
    } & HookStrictSelect<NoInfer<S>, AgentSelect>;
} & Omit<UseMutationOptions<{
    updateAgent: {
        agent: InferSelectResult<AgentWithRelations, S>;
    };
}, Error, {
    id: string;
    agentPatch: AgentPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAgent: {
        agent: InferSelectResult<AgentWithRelations, S>;
    };
}, Error, {
    id: string;
    agentPatch: AgentPatch;
}>;
