import { RequestConfig } from '../requestConfig';
import { IsoTime } from '../types/primitives';
interface UploadRawFileResponse {
    url: string;
    name: string;
}
interface CreateFileWrapperResponse {
    objectId: string;
    createdAt: IsoTime;
}
export interface UploadFileResponse {
    dataID: string;
    file: UploadRawFileResponse;
    fileWrapper: CreateFileWrapperResponse;
}
export declare function uploadFile(config: RequestConfig, buffer: Buffer): Promise<UploadFileResponse>;
export {};
