/// import { AbstractServiceOptions, File, PrimaryKey, MutationOptions } from '../types'; import { ItemsService } from './items'; export declare class FilesService extends ItemsService { constructor(options: AbstractServiceOptions); /** * Upload a single new file to the configured storage adapter */ uploadOne(stream: NodeJS.ReadableStream, data: Partial & { filename_download: string; storage: string; }, primaryKey?: PrimaryKey, opts?: MutationOptions): Promise; /** * Import a single file from an external URL */ importOne(importURL: string, body: Partial): Promise; /** * Delete a file */ deleteOne(key: PrimaryKey, opts?: MutationOptions): Promise; /** * Delete multiple files */ deleteMany(keys: PrimaryKey[], opts?: MutationOptions): Promise; }