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