/**
 * Append-only ledger of code redemptions; AFTER INSERT trigger validates and cascades to limit_credits
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppLimitCreditRedemptionSelect, AppLimitCreditRedemptionWithRelations, AppLimitCreditRedemptionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCreditRedemptionSelect, AppLimitCreditRedemptionWithRelations, AppLimitCreditRedemptionPatch, } from '../../orm/input-types';
/**
 * Append-only ledger of code redemptions; AFTER INSERT trigger validates and cascades to limit_credits
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppLimitCreditRedemptionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appLimitCreditRedemptionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppLimitCreditRedemptionMutation<S extends AppLimitCreditRedemptionSelect>(params: {
    selection: {
        fields: S & AppLimitCreditRedemptionSelect;
    } & HookStrictSelect<NoInfer<S>, AppLimitCreditRedemptionSelect>;
} & Omit<UseMutationOptions<{
    updateAppLimitCreditRedemption: {
        appLimitCreditRedemption: InferSelectResult<AppLimitCreditRedemptionWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCreditRedemptionPatch: AppLimitCreditRedemptionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppLimitCreditRedemption: {
        appLimitCreditRedemption: InferSelectResult<AppLimitCreditRedemptionWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCreditRedemptionPatch: AppLimitCreditRedemptionPatch;
}>;
