/**
 * 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, CreateAgentMessageInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentMessageSelect, AgentMessageWithRelations, CreateAgentMessageInput, } from '../../orm/input-types';
/**
 * Message within an agent thread with TextPart/ToolPart jsonb parts
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAgentMessageMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAgentMessageMutation<S extends AgentMessageSelect>(params: {
    selection: {
        fields: S & AgentMessageSelect;
    } & HookStrictSelect<NoInfer<S>, AgentMessageSelect>;
} & Omit<UseMutationOptions<{
    createAgentMessage: {
        agentMessage: InferSelectResult<AgentMessageWithRelations, S>;
    };
}, Error, CreateAgentMessageInput['agentMessage']>, 'mutationFn'>): UseMutationResult<{
    createAgentMessage: {
        agentMessage: InferSelectResult<AgentMessageWithRelations, S>;
    };
}, Error, CreateAgentMessageInput['agentMessage']>;
