/**
 * Entity-aware PGP-encrypted key-value config/secrets module. Supports app-level (admin-only)
     and org-scoped (per-org secrets with manage_secrets permission) via the scope column.
     User-scoped bcrypt credentials are handled by user_credentials_module.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ConfigSecretsModuleSelect, ConfigSecretsModuleWithRelations, CreateConfigSecretsModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ConfigSecretsModuleSelect, ConfigSecretsModuleWithRelations, CreateConfigSecretsModuleInput, } from '../../orm/input-types';
/**
 * Entity-aware PGP-encrypted key-value config/secrets module. Supports app-level (admin-only)
     and org-scoped (per-org secrets with manage_secrets permission) via the scope column.
     User-scoped bcrypt credentials are handled by user_credentials_module.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateConfigSecretsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateConfigSecretsModuleMutation<S extends ConfigSecretsModuleSelect>(params: {
    selection: {
        fields: S & ConfigSecretsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, ConfigSecretsModuleSelect>;
} & Omit<UseMutationOptions<{
    createConfigSecretsModule: {
        configSecretsModule: InferSelectResult<ConfigSecretsModuleWithRelations, S>;
    };
}, Error, CreateConfigSecretsModuleInput['configSecretsModule']>, 'mutationFn'>): UseMutationResult<{
    createConfigSecretsModule: {
        configSecretsModule: InferSelectResult<ConfigSecretsModuleWithRelations, S>;
    };
}, Error, CreateConfigSecretsModuleInput['configSecretsModule']>;
