/**
 * Create mutation hook for ConfigSecretsUserModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ConfigSecretsUserModuleSelect, ConfigSecretsUserModuleWithRelations, CreateConfigSecretsUserModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ConfigSecretsUserModuleSelect, ConfigSecretsUserModuleWithRelations, CreateConfigSecretsUserModuleInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a ConfigSecretsUserModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateConfigSecretsUserModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateConfigSecretsUserModuleMutation<S extends ConfigSecretsUserModuleSelect>(params: {
    selection: {
        fields: S & ConfigSecretsUserModuleSelect;
    } & HookStrictSelect<NoInfer<S>, ConfigSecretsUserModuleSelect>;
} & Omit<UseMutationOptions<{
    createConfigSecretsUserModule: {
        configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
    };
}, Error, CreateConfigSecretsUserModuleInput['configSecretsUserModule']>, 'mutationFn'>): UseMutationResult<{
    createConfigSecretsUserModule: {
        configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
    };
}, Error, CreateConfigSecretsUserModuleInput['configSecretsUserModule']>;
