/**
 * Top-level AI/LLM conversation thread
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AgentThreadSelect, AgentThreadWithRelations, AgentThreadPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentThreadSelect, AgentThreadWithRelations, AgentThreadPatch, } from '../../orm/input-types';
/**
 * Top-level AI/LLM conversation thread
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAgentThreadMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', agentThreadPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAgentThreadMutation<S extends AgentThreadSelect>(params: {
    selection: {
        fields: S & AgentThreadSelect;
    } & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
} & Omit<UseMutationOptions<{
    updateAgentThread: {
        agentThread: InferSelectResult<AgentThreadWithRelations, S>;
    };
}, Error, {
    id: string;
    agentThreadPatch: AgentThreadPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAgentThread: {
        agentThread: InferSelectResult<AgentThreadWithRelations, S>;
    };
}, Error, {
    id: string;
    agentThreadPatch: AgentThreadPatch;
}>;
