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