import { PaginatedFolderList, Folder, FileRetrieve, FolderRetrieve, MiniFile, MiniPage, FolderFolder, File, FavoriteCreateRequest, Favorite, FolderCreateRequest, FolderUpdateRequest, FileUpdateRequest, BulkDeleteRequest, BulkDeleteResponse, FolderFile, FileStatusEnum } from '../../../../types/openapi'; import { GetFavoritesParams } from '../../../types/favorites'; import { PaginatedData } from '../../../types/paginatedData'; import { AllFileCreateRequest, DeviceFile } from '../../../types/files'; import { RecentFile } from '../../../types/recentFiles.types'; import { Mutable } from '../../../types/ts'; import { FolderListRequest } from '../../../sdk/payload.types'; type CompactFolder = Mutable; type FolderFileWithFolder = FolderFile & { folder_id?: string; folder: { id: string; name: string; }; type?: 'file' | 'folder'; }; type FolderItemsFetcher = (folderId: Folder['id'] | undefined, options?: { justFetch: boolean; setSelectedFolder: boolean; forceRefresh?: boolean; }) => Promise; type FolderCreator = (payload: Omit) => Promise; type FolderUpdater = (payload: FolderUpdateRequest & { id: Folder['id']; }) => Promise; type FolderDeleter = (payload: Folder['id']) => Promise; type FolderFetcher = (payload: Folder['id']) => Promise; type FoldersDeleter = (payload: BulkDeleteRequest) => Promise; type FolderLister = (payload: FolderListRequest) => Promise; type FileCreator = (payload: Omit) => Promise; type FileUpdater = (payload: FileUpdateRequest & { id: File['id']; }) => Promise; type FileOpener = (payload: { fileId: MiniFile['id']; pageIndex?: MiniPage['page_index']; newTab?: boolean; }) => void; type FileDeleter = (payload: MiniFile['id']) => Promise; type FilesDeleter = (payload: BulkDeleteRequest) => Promise; type FileFetcher = (payload: File['id']) => Promise; type FileListFetcher = (params?: any) => Promise; type FileListSearchFetcher = (params?: any) => Promise; type FilesFoldersDeleter = (payload: BulkDeleteRequest) => Promise; type FavoriteCreator = (payload: FavoriteCreateRequest) => Promise; type FavoriteDeleter = (payload: Favorite['id']) => Promise; type FavoritesDeleter = (payload: BulkDeleteRequest) => Promise; type FavoritesFetcher = (payload?: GetFavoritesParams) => Promise>; type FavoritesSetter = (favorites: Favorite[]) => void; type RecentFilesFetcher = () => Promise; type SelectDeviceFile = () => Promise; type CompactFile = Pick; type ItemsMoverItem = { id: File['id'] | Folder['id']; type: 'file' | 'folder'; }; type ItemsMover = (folderId: Folder['id'], items: ItemsMoverItem[]) => Promise; declare function setFavorites(favorites: Favorite[]): void; declare function setCurrentFolder(folderId?: FolderRetrieve['id'], folderName?: FolderRetrieve['name'], folderPath?: FolderRetrieve['path']): void; declare function setSearchQuery(searchQuery: string): void; declare function setIsFetchingListFiles(value: boolean): void; declare function setSearchMetadataFilters(filters: Record): void; declare function setFilteredItems(items: FolderFileWithFolder[]): void; declare function onUpsertFolder(name: string, initialName?: string): Promise; declare function clearTimeouts(): void; declare function init({ onFolderFetch, onFolderCreate, onFolderUpdate, onFolderDelete, onFoldersDelete, onFileCreate, onFileUpdate, onFileOpen, onFileDelete, onFilesDelete, onFileFetch, onFilesList, onItemsMove, onFavoriteCreate, onFavoriteDelete, onFavoritesDelete, onFavoritesFetch, onRecentFilesFetch, onSelectDeviceFile, onFolderList, }: { onFolderFetch: FolderItemsFetcher; onFolderCreate: FolderCreator; onFolderUpdate: FolderUpdater; onFolderDelete: FolderDeleter; onFoldersDelete: FoldersDeleter; onFileCreate: FileCreator; onFileUpdate: FileUpdater; onFileOpen: FileOpener; onFileDelete: FileDeleter; onFilesDelete: FilesDeleter; onFileFetch: FileFetcher; onFilesList: FileListFetcher; onItemsMove: ItemsMover; onFavoriteCreate: FavoriteCreator; onFavoriteDelete: FavoriteDeleter; onFavoritesDelete: FavoritesDeleter; onFavoritesFetch: FavoritesFetcher; onRecentFilesFetch: RecentFilesFetcher; onSelectDeviceFile?: SelectDeviceFile; onFolderList: FolderLister; }): void; export type { FolderItemsFetcher, FolderCreator, FolderUpdater, FolderDeleter, FoldersDeleter, FileCreator, FileUpdater, FileOpener, FileDeleter, FilesDeleter, FileFetcher, FileListFetcher, ItemsMoverItem, ItemsMover, FavoritesFetcher, FavoriteCreator, FavoriteDeleter, FavoritesDeleter, FavoritesSetter, CompactFile, CompactFolder, RecentFilesFetcher, SelectDeviceFile, FolderLister, }; declare const _default: () => { state: { readonly fileOpener: FileOpener | null; readonly fileDeleter: FileDeleter | null; readonly filesDeleter: FilesDeleter | null; readonly folderItemsFetcher: FolderItemsFetcher | null; readonly folderCreator: FolderCreator | null; readonly folderUpdater: FolderUpdater | null; readonly folderDeleter: FolderDeleter | null; readonly folderFetcher: FolderFetcher | null; readonly foldersDeleter: FoldersDeleter | null; readonly fileCreator: FileCreator | null; readonly fileUpdater: FileUpdater | null; readonly fileFetcher: FileFetcher | null; readonly fileListFetcher: FileListSearchFetcher | null; readonly filesFoldersDeleter: FilesFoldersDeleter | null; readonly favoritesFetcher: FavoritesFetcher | null; readonly favoriteCreator: FavoriteCreator | null; readonly favoriteDeleter: FavoriteDeleter | null; readonly favoritesDeleter: FavoritesDeleter | null; readonly favoritesSetter: FavoritesSetter | null; readonly recentFilesFetcher: RecentFilesFetcher | null; readonly selectDeviceFile?: (SelectDeviceFile | null) | undefined; readonly itemsMover: ItemsMover | null; readonly folderLister: FolderLister | null; readonly convertingFileIdsTimeout: { readonly close: () => NodeJS.Timeout; readonly hasRef: () => boolean; readonly ref: () => NodeJS.Timeout; readonly refresh: () => NodeJS.Timeout; readonly unref: () => NodeJS.Timeout; readonly _onTimeout: (...args: any[]) => void; readonly [Symbol.toPrimitive]: () => number; readonly [Symbol.dispose]: () => void; } | null; readonly isUpdatingFolderItems: boolean; readonly isFetchingFolderItems: boolean; readonly fetchingFolderId: Folder["id"]; readonly isFetchingListFiles: boolean; readonly isFetchingSelectedFile: boolean; readonly isFetchingSelectedFolder: boolean; readonly isFetchingRecentFiles: boolean; readonly isFetchingFavorites: boolean; readonly isCreatingFavorite: boolean; readonly isDeletingFavorite: boolean; readonly folders: readonly { readonly id: string; readonly name: string; readonly thumbnail_url: string | null; readonly folders_count: number; readonly files_count: number; readonly available_files_count: number; readonly available_folders_count: number; readonly file_thumbnail_urls: readonly string[]; readonly canvases_count: number; readonly canvas_thumbnail_urls: readonly string[]; }[]; readonly files: readonly { readonly id: string; readonly name?: string | undefined; readonly tags?: readonly string[] | undefined; readonly thumbnail_url: string | null; readonly permissions?: { readonly can_download?: boolean | undefined; readonly can_share?: boolean | undefined; } | undefined; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly status: FileStatusEnum; readonly created_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly modified_at: string; }[]; readonly recent: readonly { readonly id: string; readonly name?: string | undefined; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly instance_id: string; readonly tags?: Readonly; readonly thumbnail_url?: string | null | undefined; readonly page_index?: number | undefined; readonly status?: FileStatusEnum | undefined; }[]; readonly selectedFile: { readonly id: string; readonly global_id: string; readonly name?: string | undefined; readonly type: import('../../../../types/openapi').FileTypeEnum; readonly size: number | null; readonly status: FileStatusEnum; readonly version: { readonly id: string; readonly comment: string; readonly created_at: string; }; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly content_extension: string | null; readonly content_length: number | null; readonly content_url: string | null; readonly content_thumbnails: readonly string[]; readonly original_extension: string | null; readonly original_url: string | null; readonly thumbnail_url: string | null; readonly download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined; readonly zip_size: number | null; readonly zip_url: string | null; readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined; readonly role: import('../../../../types/openapi').CollaborationRoleEnum; readonly permissions?: { readonly can_download?: boolean | undefined; readonly can_share?: boolean | undefined; } | undefined; readonly pspdfkit_server_url: string | null; readonly pspdfkit_document_id: string | null; readonly pspdfkit_auth_payload: { readonly [x: string]: any; } | null; readonly metadata?: { readonly [x: string]: any; } | undefined; readonly app_metadata?: { readonly [x: string]: any; } | undefined; readonly tags?: readonly string[] | undefined; readonly published_at: string | null; readonly expires_at?: string | null | undefined; readonly instance_id: string; readonly folder_id?: string | undefined; readonly folder: { readonly id: string; readonly name: string; }; readonly shared_link: { readonly url: string; readonly short_url?: string | null | undefined; }; readonly owned_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly created_at: string; readonly created_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly modified_at: string; readonly modified_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; } | null; readonly selectedFolder: { readonly id: string; readonly name: string; readonly content_type: string; readonly access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined; readonly rules?: readonly { readonly field: string; readonly operator: import('../../../../types/openapi').OperatorEnum; readonly value: string; }[] | undefined; readonly owned_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly file_thumbnail_urls: readonly string[]; readonly thumbnail_url: string | null; readonly path: readonly { readonly id: string; readonly name: string; readonly thumbnail_url: string | null; readonly folders_count: number; readonly files_count: number; readonly available_files_count: number; readonly available_folders_count: number; readonly file_thumbnail_urls: readonly string[]; readonly canvases_count: number; readonly canvas_thumbnail_urls: readonly string[]; }[]; readonly folders: readonly { readonly id: string; readonly name: string; readonly thumbnail_url: string | null; readonly folders_count: number; readonly files_count: number; readonly available_files_count: number; readonly available_folders_count: number; readonly file_thumbnail_urls: readonly string[]; readonly canvases_count: number; readonly canvas_thumbnail_urls: readonly string[]; }[]; readonly files: readonly { readonly id: string; readonly name: string; readonly status: FileStatusEnum; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly thumbnail_url: string; readonly original_url: string | null; readonly original_extension: string | null; readonly tags: readonly string[]; readonly permissions?: { readonly can_download?: boolean | undefined; readonly can_share?: boolean | undefined; } | undefined; readonly metadata: { readonly [x: string]: any; }; readonly created_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly owned_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly modified_at: string; readonly expires_at: string | null; }[]; readonly canvases: readonly { readonly id: string; readonly name: string; readonly thumbnail_url?: string | null | undefined; readonly tags: readonly string[]; readonly created_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly owned_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly modified_at: string; }[]; readonly created_at: string; readonly created_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly modified_at: string; readonly modified_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; } | null; readonly favorites: { readonly [x: string]: { readonly id: string; readonly name: string; readonly thumbnail_url: string; readonly file: { readonly id: string; readonly name: string; readonly content_type: string | null; readonly tags: readonly string[]; readonly expires_at?: string | null | undefined; } | null; readonly page: { readonly id: string; readonly page_index?: number | undefined; } | null; readonly folder: { readonly id: string; readonly name: string; readonly thumbnail_url: string | null; readonly file_thumbnail_urls: readonly string[]; } | null; readonly created_at: string; readonly created_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly modified_at: string; readonly modified_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly owned_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; }; }; readonly currentFolderPath: readonly { readonly id: string; readonly name: string; readonly thumbnail_url: string | null; readonly folders_count: number; readonly files_count: number; readonly available_files_count: number; readonly available_folders_count: number; readonly file_thumbnail_urls: readonly string[]; readonly canvases_count: number; readonly canvas_thumbnail_urls: readonly string[]; }[]; readonly currentFolderName: Awaited>["name"]; readonly currentFolderId: Awaited>["id"]; readonly sectionFieldsDict: { readonly [x: string]: any; }; readonly searchQuery: string; readonly searchMetadataFilters: { readonly [x: string]: any; }; readonly filteredItems: readonly { readonly id: string; readonly name: string; readonly status: FileStatusEnum; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly thumbnail_url: string; readonly original_url: string | null; readonly original_extension: string | null; readonly tags: readonly string[]; readonly permissions?: { readonly can_download?: boolean | undefined; readonly can_share?: boolean | undefined; } | undefined; readonly metadata: { readonly [x: string]: any; }; readonly created_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly owned_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly modified_at: string; readonly expires_at: string | null; readonly folder_id?: string | undefined; readonly folder: { readonly id: string; readonly name: string; }; readonly type?: "file" | "folder" | undefined; }[]; }; getters: { readonly sortedFiles: readonly { readonly id: string; readonly name?: string | undefined; readonly tags?: readonly string[] | undefined; readonly thumbnail_url: string | null; readonly permissions?: { readonly can_download?: boolean | undefined; readonly can_share?: boolean | undefined; } | undefined; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly status: FileStatusEnum; readonly created_by: { readonly id: number; readonly name: string; readonly email?: string | undefined; }; readonly modified_at: string; }[]; readonly hasMetadataFilters: boolean; readonly isLoading: boolean; }; actions: { init: typeof init; getInitialState: () => { fileOpener: null; fileDeleter: null; filesDeleter: null; folderItemsFetcher: null; folderCreator: null; folderUpdater: null; folderDeleter: null; folderFetcher: null; foldersDeleter: null; fileCreator: null; fileUpdater: null; fileFetcher: null; fileListFetcher: null; filesFoldersDeleter: null; favoritesFetcher: null; favoriteCreator: null; favoriteDeleter: null; favoritesDeleter: null; favoritesSetter: null; recentFilesFetcher: null; itemsMover: null; folderLister: null; convertingFileIdsTimeout: null; isFetchingFolderItems: boolean; fetchingFolderId: string; isUpdatingFolderItems: boolean; isFetchingListFiles: boolean; isFetchingSelectedFile: boolean; isFetchingSelectedFolder: boolean; isFetchingFavorites: boolean; isCreatingFavorite: boolean; isDeletingFavorite: boolean; isFetchingRecentFiles: boolean; folders: never[]; files: never[]; recent: never[]; selectedFile: null; selectedFolder: null; favorites: {}; currentFolderPath: never[]; currentFolderName: string; currentFolderId: string; sectionFieldsDict: {}; searchQuery: string; searchMetadataFilters: {}; filteredItems: never[]; }; setFavorites: typeof setFavorites; setCurrentFolder: typeof setCurrentFolder; setSearchQuery: typeof setSearchQuery; setIsFetchingListFiles: typeof setIsFetchingListFiles; setSearchMetadataFilters: typeof setSearchMetadataFilters; setFilteredItems: typeof setFilteredItems; onUpsertFolder: typeof onUpsertFolder; onUploadFilesRefetchFolder: () => Promise | undefined; clearTimeouts: typeof clearTimeouts; reset: () => { fileOpener: FileOpener | null; fileDeleter: FileDeleter | null; filesDeleter: FilesDeleter | null; folderItemsFetcher: FolderItemsFetcher | null; folderCreator: FolderCreator | null; folderUpdater: FolderUpdater | null; folderDeleter: FolderDeleter | null; folderFetcher: FolderFetcher | null; foldersDeleter: FoldersDeleter | null; fileCreator: FileCreator | null; fileUpdater: FileUpdater | null; fileFetcher: FileFetcher | null; fileListFetcher: FileListSearchFetcher | null; filesFoldersDeleter: FilesFoldersDeleter | null; favoritesFetcher: FavoritesFetcher | null; favoriteCreator: FavoriteCreator | null; favoriteDeleter: FavoriteDeleter | null; favoritesDeleter: FavoritesDeleter | null; favoritesSetter: FavoritesSetter | null; recentFilesFetcher: RecentFilesFetcher | null; selectDeviceFile?: (SelectDeviceFile | null) | undefined; itemsMover: ItemsMover | null; folderLister: FolderLister | null; convertingFileIdsTimeout: { close: () => NodeJS.Timeout; hasRef: () => boolean; ref: () => NodeJS.Timeout; refresh: () => NodeJS.Timeout; unref: () => NodeJS.Timeout; _onTimeout: (...args: any[]) => void; [Symbol.toPrimitive]: () => number; [Symbol.dispose]: () => void; } | null; isUpdatingFolderItems: boolean; isFetchingFolderItems: boolean; fetchingFolderId: Folder["id"]; isFetchingListFiles: boolean; isFetchingSelectedFile: boolean; isFetchingSelectedFolder: boolean; isFetchingRecentFiles: boolean; isFetchingFavorites: boolean; isCreatingFavorite: boolean; isDeletingFavorite: boolean; folders: { id: string; name: string; thumbnail_url: string | null; folders_count: number; files_count: number; available_files_count: number; available_folders_count: number; file_thumbnail_urls: Array; canvases_count: number; canvas_thumbnail_urls: Array; }[]; files: { readonly id: string; name?: string | undefined; tags?: Array | undefined; readonly thumbnail_url: string | null; permissions?: { can_download?: boolean | undefined; can_share?: boolean | undefined; } | undefined; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly status: FileStatusEnum; readonly created_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly modified_at: string; }[]; recent: { readonly id: string; name?: string | undefined; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly instance_id: string; tags?: Readonly; thumbnail_url?: string | null | undefined; page_index?: number | undefined; status?: FileStatusEnum | undefined; }[]; selectedFile: { readonly id: string; readonly global_id: string; name?: string | undefined; readonly type: import('../../../../types/openapi').FileTypeEnum; readonly size: number | null; readonly status: FileStatusEnum; readonly version: { readonly id: string; readonly comment: string; readonly created_at: string; }; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly content_extension: string | null; readonly content_length: number | null; readonly content_url: string | null; readonly content_thumbnails: Array; readonly original_extension: string | null; readonly original_url: string | null; readonly thumbnail_url: string | null; download_type?: import('../../../../types/openapi').DownloadTypeEnum | undefined; readonly zip_size: number | null; readonly zip_url: string | null; access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined; readonly role: import('../../../../types/openapi').CollaborationRoleEnum; permissions?: { can_download?: boolean | undefined; can_share?: boolean | undefined; } | undefined; readonly pspdfkit_server_url: string | null; readonly pspdfkit_document_id: string | null; readonly pspdfkit_auth_payload: Record | null; metadata?: Record | undefined; app_metadata?: Record | undefined; tags?: Array | undefined; readonly published_at: string | null; expires_at?: string | null | undefined; readonly instance_id: string; folder_id?: string | undefined; readonly folder: { readonly id: string; name: string; }; readonly shared_link: { readonly url: string; short_url?: string | null | undefined; }; readonly owned_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly created_at: string; readonly created_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly modified_at: string; readonly modified_by: { readonly id: number; readonly name: string; email?: string | undefined; }; } | null; selectedFolder: { readonly id: string; name: string; readonly content_type: string; access_type?: import('../../../../types/openapi').AccessTypeEnum | undefined; rules?: { field: string; operator: import('../../../../types/openapi').OperatorEnum; value: string; }[] | undefined; readonly owned_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly file_thumbnail_urls: Array; readonly thumbnail_url: string | null; readonly path: { readonly id: string; name: string; readonly thumbnail_url: string | null; readonly folders_count: number; readonly files_count: number; readonly available_files_count: number; readonly available_folders_count: number; readonly file_thumbnail_urls: Array; readonly canvases_count: number; readonly canvas_thumbnail_urls: Array; }[]; readonly folders: { readonly id: string; name: string; readonly thumbnail_url: string | null; readonly folders_count: number; readonly files_count: number; readonly available_files_count: number; readonly available_folders_count: number; readonly file_thumbnail_urls: Array; readonly canvases_count: number; readonly canvas_thumbnail_urls: Array; }[]; readonly files: { readonly id: string; readonly name: string; readonly status: FileStatusEnum; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly thumbnail_url: string; readonly original_url: string | null; readonly original_extension: string | null; readonly tags: Array; permissions?: { can_download?: boolean | undefined; can_share?: boolean | undefined; } | undefined; readonly metadata: Record; readonly created_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly owned_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly modified_at: string; readonly expires_at: string | null; }[]; readonly canvases: { readonly id: string; name: string; thumbnail_url?: string | null | undefined; readonly tags: Array; readonly created_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly owned_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly modified_at: string; }[]; readonly created_at: string; readonly created_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly modified_at: string; readonly modified_by: { readonly id: number; readonly name: string; email?: string | undefined; }; } | null; favorites: Record; currentFolderPath: { readonly id: string; name: string; readonly thumbnail_url: string | null; readonly folders_count: number; readonly files_count: number; readonly available_files_count: number; readonly available_folders_count: number; readonly file_thumbnail_urls: Array; readonly canvases_count: number; readonly canvas_thumbnail_urls: Array; }[]; currentFolderName: Awaited>["name"]; currentFolderId: Awaited>["id"]; sectionFieldsDict: Record; searchQuery: string; searchMetadataFilters: Record; filteredItems: { readonly id: string; readonly name: string; readonly status: FileStatusEnum; readonly content_type: import('../../../../types/openapi').FileContentTypeEnum; readonly thumbnail_url: string; readonly original_url: string | null; readonly original_extension: string | null; readonly tags: Array; permissions?: { can_download?: boolean | undefined; can_share?: boolean | undefined; } | undefined; readonly metadata: Record; readonly created_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly owned_by: { readonly id: number; readonly name: string; email?: string | undefined; }; readonly modified_at: string; readonly expires_at: string | null; folder_id?: string | undefined; folder: { id: string; name: string; }; type?: "file" | "folder" | undefined; }[]; } & { fileOpener: null; fileDeleter: null; filesDeleter: null; folderItemsFetcher: null; folderCreator: null; folderUpdater: null; folderDeleter: null; folderFetcher: null; foldersDeleter: null; fileCreator: null; fileUpdater: null; fileFetcher: null; fileListFetcher: null; filesFoldersDeleter: null; favoritesFetcher: null; favoriteCreator: null; favoriteDeleter: null; favoritesDeleter: null; favoritesSetter: null; recentFilesFetcher: null; itemsMover: null; folderLister: null; convertingFileIdsTimeout: null; isFetchingFolderItems: boolean; fetchingFolderId: string; isUpdatingFolderItems: boolean; isFetchingListFiles: boolean; isFetchingSelectedFile: boolean; isFetchingSelectedFolder: boolean; isFetchingFavorites: boolean; isCreatingFavorite: boolean; isDeletingFavorite: boolean; isFetchingRecentFiles: boolean; folders: never[]; files: never[]; recent: never[]; selectedFile: null; selectedFolder: null; favorites: {}; currentFolderPath: never[]; currentFolderName: string; currentFolderId: string; sectionFieldsDict: {}; searchQuery: string; searchMetadataFilters: {}; filteredItems: never[]; }; }; }; export default _default;