/**
 * Append-only ledger of code redemptions; AFTER INSERT trigger validates and cascades to limit_credits
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppLimitCreditRedemptionSelect, AppLimitCreditRedemptionWithRelations, CreateAppLimitCreditRedemptionInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCreditRedemptionSelect, AppLimitCreditRedemptionWithRelations, CreateAppLimitCreditRedemptionInput, } from '../../orm/input-types';
/**
 * Append-only ledger of code redemptions; AFTER INSERT trigger validates and cascades to limit_credits
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAppLimitCreditRedemptionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAppLimitCreditRedemptionMutation<S extends AppLimitCreditRedemptionSelect>(params: {
    selection: {
        fields: S & AppLimitCreditRedemptionSelect;
    } & HookStrictSelect<NoInfer<S>, AppLimitCreditRedemptionSelect>;
} & Omit<UseMutationOptions<{
    createAppLimitCreditRedemption: {
        appLimitCreditRedemption: InferSelectResult<AppLimitCreditRedemptionWithRelations, S>;
    };
}, Error, CreateAppLimitCreditRedemptionInput['appLimitCreditRedemption']>, 'mutationFn'>): UseMutationResult<{
    createAppLimitCreditRedemption: {
        appLimitCreditRedemption: InferSelectResult<AppLimitCreditRedemptionWithRelations, S>;
    };
}, Error, CreateAppLimitCreditRedemptionInput['appLimitCreditRedemption']>;
