/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppMembershipDefaultSelect, AppMembershipDefaultWithRelations, AppMembershipDefaultPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppMembershipDefaultSelect, AppMembershipDefaultWithRelations, AppMembershipDefaultPatch, } from '../../orm/input-types';
/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppMembershipDefaultMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appMembershipDefaultPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppMembershipDefaultMutation<S extends AppMembershipDefaultSelect>(params: {
    selection: {
        fields: S & AppMembershipDefaultSelect;
    } & HookStrictSelect<NoInfer<S>, AppMembershipDefaultSelect>;
} & Omit<UseMutationOptions<{
    updateAppMembershipDefault: {
        appMembershipDefault: InferSelectResult<AppMembershipDefaultWithRelations, S>;
    };
}, Error, {
    id: string;
    appMembershipDefaultPatch: AppMembershipDefaultPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppMembershipDefault: {
        appMembershipDefault: InferSelectResult<AppMembershipDefaultWithRelations, S>;
    };
}, Error, {
    id: string;
    appMembershipDefaultPatch: AppMembershipDefaultPatch;
}>;
