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