/**
 * Append-only ledger of credit grants that automatically update limit ceilings
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppLimitCreditSelect, AppLimitCreditWithRelations, AppLimitCreditPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCreditSelect, AppLimitCreditWithRelations, AppLimitCreditPatch, } from '../../orm/input-types';
/**
 * Append-only ledger of credit grants that automatically update limit ceilings
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppLimitCreditMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appLimitCreditPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppLimitCreditMutation<S extends AppLimitCreditSelect>(params: {
    selection: {
        fields: S & AppLimitCreditSelect;
    } & HookStrictSelect<NoInfer<S>, AppLimitCreditSelect>;
} & Omit<UseMutationOptions<{
    updateAppLimitCredit: {
        appLimitCredit: InferSelectResult<AppLimitCreditWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCreditPatch: AppLimitCreditPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppLimitCredit: {
        appLimitCredit: InferSelectResult<AppLimitCreditWithRelations, S>;
    };
}, Error, {
    id: string;
    appLimitCreditPatch: AppLimitCreditPatch;
}>;
