/**
 * Agent instance registry (human-managed or ephemeral sub-agents)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AgentSelect, AgentWithRelations, CreateAgentInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentSelect, AgentWithRelations, CreateAgentInput } from '../../orm/input-types';
/**
 * Agent instance registry (human-managed or ephemeral sub-agents)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAgentMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAgentMutation<S extends AgentSelect>(params: {
    selection: {
        fields: S & AgentSelect;
    } & HookStrictSelect<NoInfer<S>, AgentSelect>;
} & Omit<UseMutationOptions<{
    createAgent: {
        agent: InferSelectResult<AgentWithRelations, S>;
    };
}, Error, CreateAgentInput['agent']>, 'mutationFn'>): UseMutationResult<{
    createAgent: {
        agent: InferSelectResult<AgentWithRelations, S>;
    };
}, Error, CreateAgentInput['agent']>;
