import { FolderAwareDataSource } from "@webiny/app-admin/presentation/listPresenter/FolderAwareDataSource.js"; import type { FetchParams, FetchResult } from "@webiny/app-admin/presentation/listPresenter/FolderAwareDataSource.js"; import type { IGetDescendantFoldersUseCase } from "@webiny/app-aco/features/folders/getDescendantFolders/abstractions.js"; import type { IListCache } from "@webiny/app-admin/features/listCache/index.js"; import type { IListFilesUseCase } from "../../features/listFiles/index.js"; import type { FmFile } from "../../features/shared/types.js"; export declare class FileListDataSource extends FolderAwareDataSource { private listFilesUseCase; private cache; private scope?; constructor(listFilesUseCase: IListFilesUseCase, cache: IListCache, getDescendantFoldersUseCase?: IGetDescendantFoldersUseCase, scope?: string | undefined); get rows(): FmFile[]; fetch(params: FetchParams): Promise>; protected shouldExpandFolders(filters: Record): boolean; protected customizeWhere(where: Record, filters: Record): void; }