/**
 * Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgMembershipSelect, OrgMembershipWithRelations, CreateOrgMembershipInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMembershipSelect, OrgMembershipWithRelations, CreateOrgMembershipInput, } from '../../orm/input-types';
/**
 * Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateOrgMembershipMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateOrgMembershipMutation<S extends OrgMembershipSelect>(params: {
    selection: {
        fields: S & OrgMembershipSelect;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipSelect>;
} & Omit<UseMutationOptions<{
    createOrgMembership: {
        orgMembership: InferSelectResult<OrgMembershipWithRelations, S>;
    };
}, Error, CreateOrgMembershipInput['orgMembership']>, 'mutationFn'>): UseMutationResult<{
    createOrgMembership: {
        orgMembership: InferSelectResult<OrgMembershipWithRelations, S>;
    };
}, Error, CreateOrgMembershipInput['orgMembership']>;
