/**
 * 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMembershipSelect, OrgMembershipWithRelations } from '../../orm/input-types';
/**
 * Tracks membership records linking actors to entities with permission bitmasks, ownership, and admin status
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteOrgMembershipMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteOrgMembershipMutation<S extends OrgMembershipSelect>(params: {
    selection: {
        fields: S & OrgMembershipSelect;
    } & HookStrictSelect<NoInfer<S>, OrgMembershipSelect>;
} & Omit<UseMutationOptions<{
    deleteOrgMembership: {
        orgMembership: InferSelectResult<OrgMembershipWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteOrgMembership: {
        orgMembership: InferSelectResult<OrgMembershipWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
