/**
 * Update 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, ConfigSecretsUserModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ConfigSecretsUserModuleSelect, ConfigSecretsUserModuleWithRelations, ConfigSecretsUserModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a ConfigSecretsUserModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateConfigSecretsUserModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', configSecretsUserModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateConfigSecretsUserModuleMutation<S extends ConfigSecretsUserModuleSelect>(params: {
    selection: {
        fields: S & ConfigSecretsUserModuleSelect;
    } & HookStrictSelect<NoInfer<S>, ConfigSecretsUserModuleSelect>;
} & Omit<UseMutationOptions<{
    updateConfigSecretsUserModule: {
        configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    configSecretsUserModulePatch: ConfigSecretsUserModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateConfigSecretsUserModule: {
        configSecretsUserModule: InferSelectResult<ConfigSecretsUserModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    configSecretsUserModulePatch: ConfigSecretsUserModulePatch;
}>;
