/**
 * Simplified view of active members in an entity, used for listing who belongs to an org or group
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgMemberSelect, OrgMemberWithRelations, CreateOrgMemberInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMemberSelect, OrgMemberWithRelations, CreateOrgMemberInput, } from '../../orm/input-types';
/**
 * Simplified view of active members in an entity, used for listing who belongs to an org or group
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateOrgMemberMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateOrgMemberMutation<S extends OrgMemberSelect>(params: {
    selection: {
        fields: S & OrgMemberSelect;
    } & HookStrictSelect<NoInfer<S>, OrgMemberSelect>;
} & Omit<UseMutationOptions<{
    createOrgMember: {
        orgMember: InferSelectResult<OrgMemberWithRelations, S>;
    };
}, Error, CreateOrgMemberInput['orgMember']>, 'mutationFn'>): UseMutationResult<{
    createOrgMember: {
        orgMember: InferSelectResult<OrgMemberWithRelations, S>;
    };
}, Error, CreateOrgMemberInput['orgMember']>;
