import { SpaceResource } from '../helpers'; import { GetFileInfoFactory } from './getFileInfo'; import { WebDavOptions } from './types'; import { DAV, DAVRequestOptions } from './client'; import { ProgressEventCallback } from 'webdav'; type PutFileContentsOptions = { fileName?: string; parentFolderId?: string; path?: string; content?: string | ArrayBuffer; previousEntityTag?: string; overwrite?: boolean; onUploadProgress?: ProgressEventCallback; } & DAVRequestOptions; export declare const PutFileContentsFactory: (dav: DAV, getFileInfoFactory: ReturnType, options: WebDavOptions) => { putFileContents(space: SpaceResource, { fileName, path, parentFolderId, content, previousEntityTag, overwrite, onUploadProgress, ...opts }: PutFileContentsOptions): Promise; }; export {};