import { Ref } from 'vue'; import { FileRetrieve } from '../../../../../../types/openapi'; import { ContentListSection } from '../../../types/canvas'; /** * PIT-6436: this file cache is module-level and keyed only by `file_id`, with no version * awareness — once a file is loaded it is never re-fetched. After a deck's file was re-uploaded * (new version), the navigator / ContentList kept serving the PREVIOUS version's * `content_thumbnails` (the old `versions//thumbnail-N.webp`, which still exists since * versions are immutable). The backend regenerates thumbnails per version correctly — this is * purely a stale client cache. Drop it whenever a deck is (re)loaded so its files are re-fetched * at the current version. Called from `useCanvas` right after `activeCanvas` is set. */ export declare const resetLoadedFiles: () => void; declare const _default: () => { files: { loading: Record; loaded: Record; }; watchMissingFiles: (rawItems: Ref) => import('vue').WatchHandle; }; export default _default;