/**
 * Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppAchievementSelect, AppAchievementWithRelations, AppAchievementPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppAchievementSelect, AppAchievementWithRelations, AppAchievementPatch, } from '../../orm/input-types';
/**
 * Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppAchievementMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appAchievementPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppAchievementMutation<S extends AppAchievementSelect>(params: {
    selection: {
        fields: S & AppAchievementSelect;
    } & HookStrictSelect<NoInfer<S>, AppAchievementSelect>;
} & Omit<UseMutationOptions<{
    updateAppAchievement: {
        appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
    };
}, Error, {
    id: string;
    appAchievementPatch: AppAchievementPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppAchievement: {
        appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
    };
}, Error, {
    id: string;
    appAchievementPatch: AppAchievementPatch;
}>;
