/**
 * Namespace-backed plaintext key-value config module. Requires namespace_module and emits namespace:sync_config job triggers for K8s ConfigMap synchronization.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraConfigModuleSelect, InfraConfigModuleWithRelations, CreateInfraConfigModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraConfigModuleSelect, InfraConfigModuleWithRelations, CreateInfraConfigModuleInput, } from '../../orm/input-types';
/**
 * Namespace-backed plaintext key-value config module. Requires namespace_module and emits namespace:sync_config job triggers for K8s ConfigMap synchronization.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateInfraConfigModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateInfraConfigModuleMutation<S extends InfraConfigModuleSelect>(params: {
    selection: {
        fields: S & InfraConfigModuleSelect;
    } & HookStrictSelect<NoInfer<S>, InfraConfigModuleSelect>;
} & Omit<UseMutationOptions<{
    createInfraConfigModule: {
        infraConfigModule: InferSelectResult<InfraConfigModuleWithRelations, S>;
    };
}, Error, CreateInfraConfigModuleInput['infraConfigModule']>, 'mutationFn'>): UseMutationResult<{
    createInfraConfigModule: {
        infraConfigModule: InferSelectResult<InfraConfigModuleWithRelations, S>;
    };
}, Error, CreateInfraConfigModuleInput['infraConfigModule']>;
