/// <reference types="react" />
import type { SetUploadItems, UpdateUploadItem, UploadItem, UploadStats } from './bookEditorMonacoUploadTypes';
/**
 * Updates one upload item while leaving every other item untouched.
 *
 * @private function of BookEditorMonaco
 */
export declare function replaceUploadItemById(uploadItems: ReadonlyArray<UploadItem>, uploadId: string, updateUploadItem: (uploadItem: UploadItem) => UploadItem): Array<UploadItem>;
/**
 * Internal upload item state shared by Monaco upload helpers.
 *
 * @private function of BookEditorMonaco
 */
export declare function useBookEditorMonacoUploadItemsState(): {
    uploadItems: UploadItem[];
    uploadItemsRef: import("react").RefObject<UploadItem[]>;
    setUploadItems: SetUploadItems;
    updateUploadItem: UpdateUploadItem;
    uploadStats: UploadStats;
    activeUploadItems: UploadItem[];
};
