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