webdav
Version:
WebDAV client for NodeJS
4 lines (3 loc) • 407 B
TypeScript
import { BufferLike, GetFileContentsOptions, ResponseDataDetailed, WebDAVClientContext } from "../types.js";
export declare function getFileContents(context: WebDAVClientContext, filePath: string, options?: GetFileContentsOptions): Promise<BufferLike | string | ResponseDataDetailed<BufferLike | string>>;
export declare function getFileDownloadLink(context: WebDAVClientContext, filePath: string): string;