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