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