/**
 * 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, CreateAgentTaskInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentTaskSelect, AgentTaskWithRelations, CreateAgentTaskInput, } from '../../orm/input-types';
/**
 * Task within a plan, with ordering and optional approval gates
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAgentTaskMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAgentTaskMutation<S extends AgentTaskSelect>(params: {
    selection: {
        fields: S & AgentTaskSelect;
    } & HookStrictSelect<NoInfer<S>, AgentTaskSelect>;
} & Omit<UseMutationOptions<{
    createAgentTask: {
        agentTask: InferSelectResult<AgentTaskWithRelations, S>;
    };
}, Error, CreateAgentTaskInput['agentTask']>, 'mutationFn'>): UseMutationResult<{
    createAgentTask: {
        agentTask: InferSelectResult<AgentTaskWithRelations, S>;
    };
}, Error, CreateAgentTaskInput['agentTask']>;
