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