/**
 * Task within a plan, with ordering and optional approval gates
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AgentTaskSelect, AgentTaskWithRelations, AgentTaskPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentTaskSelect, AgentTaskWithRelations, AgentTaskPatch, } from '../../orm/input-types';
/**
 * Task within a plan, with ordering and optional approval gates
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAgentTaskMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', agentTaskPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAgentTaskMutation<S extends AgentTaskSelect>(params: {
    selection: {
        fields: S & AgentTaskSelect;
    } & HookStrictSelect<NoInfer<S>, AgentTaskSelect>;
} & Omit<UseMutationOptions<{
    updateAgentTask: {
        agentTask: InferSelectResult<AgentTaskWithRelations, S>;
    };
}, Error, {
    id: string;
    agentTaskPatch: AgentTaskPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAgentTask: {
        agentTask: InferSelectResult<AgentTaskWithRelations, S>;
    };
}, Error, {
    id: string;
    agentTaskPatch: AgentTaskPatch;
}>;
