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