/**
 * Redeemable credit codes managed by admins with the add_credits permission
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppLimitCreditCodeSelect, AppLimitCreditCodeWithRelations, CreateAppLimitCreditCodeInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppLimitCreditCodeSelect, AppLimitCreditCodeWithRelations, CreateAppLimitCreditCodeInput, } from '../../orm/input-types';
/**
 * Redeemable credit codes managed by admins with the add_credits permission
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAppLimitCreditCodeMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAppLimitCreditCodeMutation<S extends AppLimitCreditCodeSelect>(params: {
    selection: {
        fields: S & AppLimitCreditCodeSelect;
    } & HookStrictSelect<NoInfer<S>, AppLimitCreditCodeSelect>;
} & Omit<UseMutationOptions<{
    createAppLimitCreditCode: {
        appLimitCreditCode: InferSelectResult<AppLimitCreditCodeWithRelations, S>;
    };
}, Error, CreateAppLimitCreditCodeInput['appLimitCreditCode']>, 'mutationFn'>): UseMutationResult<{
    createAppLimitCreditCode: {
        appLimitCreditCode: InferSelectResult<AppLimitCreditCodeWithRelations, S>;
    };
}, Error, CreateAppLimitCreditCodeInput['appLimitCreditCode']>;
