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