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