/**
 * Redeemable credit codes managed by admins with the add_credits permission
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppLimitCreditCodeSelect, AppLimitCreditCodeWithRelations, AppLimitCreditCodePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCreditCodeSelect, AppLimitCreditCodeWithRelations, AppLimitCreditCodePatch, } from '../../orm/input-types';
/**
 * Redeemable credit codes managed by admins with the add_credits permission
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppLimitCreditCodeMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appLimitCreditCodePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppLimitCreditCodeMutation<S extends AppLimitCreditCodeSelect>(params: {
    selection: {
        fields: S & AppLimitCreditCodeSelect;
    } & HookStrictSelect<NoInfer<S>, AppLimitCreditCodeSelect>;
} & Omit<UseMutationOptions<{
    updateAppLimitCreditCode: {
        appLimitCreditCode: InferSelectResult<AppLimitCreditCodeWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCreditCodePatch: AppLimitCreditCodePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppLimitCreditCode: {
        appLimitCreditCode: InferSelectResult<AppLimitCreditCodeWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCreditCodePatch: AppLimitCreditCodePatch;
}>;
