/**
 * Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member)
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { MembershipTypeSelect, MembershipTypeWithRelations, CreateMembershipTypeInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { MembershipTypeSelect, MembershipTypeWithRelations, CreateMembershipTypeInput, } from '../../orm/input-types';
/**
 * Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member)
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateMembershipTypeMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateMembershipTypeMutation<S extends MembershipTypeSelect>(params: {
    selection: {
        fields: S & MembershipTypeSelect;
    } & HookStrictSelect<NoInfer<S>, MembershipTypeSelect>;
} & Omit<UseMutationOptions<{
    createMembershipType: {
        membershipType: InferSelectResult<MembershipTypeWithRelations, S>;
    };
}, Error, CreateMembershipTypeInput['membershipType']>, 'mutationFn'>): UseMutationResult<{
    createMembershipType: {
        membershipType: InferSelectResult<MembershipTypeWithRelations, S>;
    };
}, Error, CreateMembershipTypeInput['membershipType']>;
