/// <reference types="node" />
import type { IUpload } from '../uploads';
import type { IUploadDescriptor } from '../uploads/IUploadDescriptor';
export interface IUploadCreator {
    /**
     * Create an upload to a room
     *
     * @param buffer A Buffer with the file's content (See [here](https://nodejs.org/api/buffer.html)
     * @param descriptor The metadata about the upload
     */
    uploadBuffer(buffer: Buffer, descriptor: IUploadDescriptor): Promise<IUpload>;
}
