webdav
Version:
WebDAV client for NodeJS
4 lines (3 loc) • 356 B
TypeScript
import { LockOptions, LockResponse, WebDAVClientContext, WebDAVMethodOptions } from "../types.js";
export declare function lock(context: WebDAVClientContext, path: string, options?: LockOptions): Promise<LockResponse>;
export declare function unlock(context: WebDAVClientContext, path: string, token: string, options?: WebDAVMethodOptions): Promise<void>;