/**
 * Create mutation hook for AgentModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AgentModuleSelect, AgentModuleWithRelations, CreateAgentModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentModuleSelect, AgentModuleWithRelations, CreateAgentModuleInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a AgentModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAgentModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAgentModuleMutation<S extends AgentModuleSelect>(params: {
    selection: {
        fields: S & AgentModuleSelect;
    } & HookStrictSelect<NoInfer<S>, AgentModuleSelect>;
} & Omit<UseMutationOptions<{
    createAgentModule: {
        agentModule: InferSelectResult<AgentModuleWithRelations, S>;
    };
}, Error, CreateAgentModuleInput['agentModule']>, 'mutationFn'>): UseMutationResult<{
    createAgentModule: {
        agentModule: InferSelectResult<AgentModuleWithRelations, S>;
    };
}, Error, CreateAgentModuleInput['agentModule']>;
