import { BaseAdapter } from './Adapter'; import type { DeleteParams, DeleteResult, FileOperationResult, FileContentResult, ArchiveParams, UnarchiveParams, SaveParams, RenameParams, TransferParams, ListParams, SearchParams, GetContentParams } from './types'; import type { DirEntry, FsData } from '../types'; type FilesSource = { value: DirEntry[]; } | DirEntry[]; export interface ArrayDriverConfig { files: FilesSource; storage?: string; storages?: string[]; readOnly?: boolean; contentStore?: Map; } export declare class ArrayDriver extends BaseAdapter { private filesSource; private defaultStorage; private storages; private storagesSet; private readOnly; private contentStore; constructor(config: ArrayDriverConfig); private get files(); private set files(value); private ensureWritable; private ensureStorageSupported; private combine; private split; private normalizePath; private parent; private join; private getExtension; private cloneEntry; private findByPath; private listChildren; private replaceAll; private upsert; private removeExact; private removeTree; private isInTree; private getTree; private uniqueName; private topLevelSources; private makeDirEntry; private makeFileEntry; private resultForDir; list(params?: ListParams): Promise; delete(params: DeleteParams): Promise; rename(params: RenameParams): Promise; copy(params: TransferParams): Promise; move(params: TransferParams): Promise; archive(params: ArchiveParams): Promise; unarchive(params: UnarchiveParams): Promise; createFile(params: { path: string; name: string; }): Promise; createFolder(params: { path: string; name: string; }): Promise; getPreviewUrl(_params: { path: string; }): string; getContent(params: GetContentParams): Promise; getDownloadUrl(_params: { path: string; }): string; search(params: SearchParams): Promise; save(params: SaveParams): Promise; configureUploader?(uppy: any, context: { getTargetPath: () => string; }): void; } export {};