/**
 * 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 { OrgLimitCreditSelect, OrgLimitCreditWithRelations, OrgLimitCreditPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgLimitCreditSelect, OrgLimitCreditWithRelations, OrgLimitCreditPatch, } from '../../orm/input-types';
/**
 * Append-only ledger of credit grants that automatically update limit ceilings
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgLimitCreditMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgLimitCreditPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgLimitCreditMutation<S extends OrgLimitCreditSelect>(params: {
    selection: {
        fields: S & OrgLimitCreditSelect;
    } & HookStrictSelect<NoInfer<S>, OrgLimitCreditSelect>;
} & Omit<UseMutationOptions<{
    updateOrgLimitCredit: {
        orgLimitCredit: InferSelectResult<OrgLimitCreditWithRelations, S>;
    };
}, Error, {
    id: string;
    orgLimitCreditPatch: OrgLimitCreditPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgLimitCredit: {
        orgLimitCredit: InferSelectResult<OrgLimitCreditWithRelations, S>;
    };
}, Error, {
    id: string;
    orgLimitCreditPatch: OrgLimitCreditPatch;
}>;
