/**
 * Message within an agent thread with TextPart/ToolPart jsonb parts
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AgentMessageSelect, AgentMessageWithRelations, AgentMessagePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentMessageSelect, AgentMessageWithRelations, AgentMessagePatch, } from '../../orm/input-types';
/**
 * Message within an agent thread with TextPart/ToolPart jsonb parts
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAgentMessageMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', agentMessagePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAgentMessageMutation<S extends AgentMessageSelect>(params: {
    selection: {
        fields: S & AgentMessageSelect;
    } & HookStrictSelect<NoInfer<S>, AgentMessageSelect>;
} & Omit<UseMutationOptions<{
    updateAgentMessage: {
        agentMessage: InferSelectResult<AgentMessageWithRelations, S>;
    };
}, Error, {
    id: string;
    agentMessagePatch: AgentMessagePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAgentMessage: {
        agentMessage: InferSelectResult<AgentMessageWithRelations, S>;
    };
}, Error, {
    id: string;
    agentMessagePatch: AgentMessagePatch;
}>;
