/**
 * Items within a credit code — each row grants credits for a specific limit definition
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppLimitCreditCodeItemSelect, AppLimitCreditCodeItemWithRelations, AppLimitCreditCodeItemPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCreditCodeItemSelect, AppLimitCreditCodeItemWithRelations, AppLimitCreditCodeItemPatch, } from '../../orm/input-types';
/**
 * Items within a credit code — each row grants credits for a specific limit definition
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppLimitCreditCodeItemMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appLimitCreditCodeItemPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppLimitCreditCodeItemMutation<S extends AppLimitCreditCodeItemSelect>(params: {
    selection: {
        fields: S & AppLimitCreditCodeItemSelect;
    } & HookStrictSelect<NoInfer<S>, AppLimitCreditCodeItemSelect>;
} & Omit<UseMutationOptions<{
    updateAppLimitCreditCodeItem: {
        appLimitCreditCodeItem: InferSelectResult<AppLimitCreditCodeItemWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCreditCodeItemPatch: AppLimitCreditCodeItemPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppLimitCreditCodeItem: {
        appLimitCreditCodeItem: InferSelectResult<AppLimitCreditCodeItemWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCreditCodeItemPatch: AppLimitCreditCodeItemPatch;
}>;
