/**
 * Workflow plan attached to an agent thread with ordered tasks 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 { AgentPlanSelect, AgentPlanWithRelations, AgentPlanPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentPlanSelect, AgentPlanWithRelations, AgentPlanPatch, } from '../../orm/input-types';
/**
 * Workflow plan attached to an agent thread with ordered tasks and optional approval gates
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAgentPlanMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', agentPlanPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAgentPlanMutation<S extends AgentPlanSelect>(params: {
    selection: {
        fields: S & AgentPlanSelect;
    } & HookStrictSelect<NoInfer<S>, AgentPlanSelect>;
} & Omit<UseMutationOptions<{
    updateAgentPlan: {
        agentPlan: InferSelectResult<AgentPlanWithRelations, S>;
    };
}, Error, {
    id: string;
    agentPlanPatch: AgentPlanPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAgentPlan: {
        agentPlan: InferSelectResult<AgentPlanWithRelations, S>;
    };
}, Error, {
    id: string;
    agentPlanPatch: AgentPlanPatch;
}>;
