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