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