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