import { BaseAdapter } from './Adapter'; import type { RemoteDriverConfig, FsData, DeleteResult, FileOperationResult, FileContentResult, DeleteParams, ArchiveParams, UnarchiveParams, SaveParams, UploaderContext, ListParams, SearchParams, GetContentParams } from './types'; import type Uppy from '@uppy/core'; /** * Remote driver for handling file operations via HTTP requests * This driver makes API calls to backend endpoints */ export declare class RemoteDriver extends BaseAdapter { private config; /** * Default URL endpoints */ private static readonly DEFAULT_URLS; constructor(config: RemoteDriverConfig); /** * Set or update the base URL for API requests */ setBaseURL(baseURL?: string): void; /** * Set or update the authentication token * Pass undefined to remove the token */ setToken(token?: string): void; configureUploader(uppy: Uppy, context: UploaderContext): void; private getHeaders; private request; list(params?: ListParams): Promise; delete(params: DeleteParams): Promise; rename(params: { path: string; item: string; name: string; }): Promise; copy(params: { path?: string; sources: string[]; destination: string; }): Promise; move(params: { path?: string; sources: string[]; destination: string; }): 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; }