/**
 * Update mutation hook for EncryptedSecretsModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { EncryptedSecretsModuleSelect, EncryptedSecretsModuleWithRelations, EncryptedSecretsModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { EncryptedSecretsModuleSelect, EncryptedSecretsModuleWithRelations, EncryptedSecretsModulePatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a EncryptedSecretsModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateEncryptedSecretsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', encryptedSecretsModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateEncryptedSecretsModuleMutation<S extends EncryptedSecretsModuleSelect>(params: {
    selection: {
        fields: S & EncryptedSecretsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, EncryptedSecretsModuleSelect>;
} & Omit<UseMutationOptions<{
    updateEncryptedSecretsModule: {
        encryptedSecretsModule: InferSelectResult<EncryptedSecretsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    encryptedSecretsModulePatch: EncryptedSecretsModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateEncryptedSecretsModule: {
        encryptedSecretsModule: InferSelectResult<EncryptedSecretsModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    encryptedSecretsModulePatch: EncryptedSecretsModulePatch;
}>;
