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