import { ContentsWithRoot, Node } from '@nextcloud/files'; import { WebDAVClient } from 'webdav'; /** * Get the recently changed nodes from the last two weeks * * @param context - The context * @param context.client - The WebDAV client * @param context.signal - The abort signal to cancel the request */ export declare function getRecentNodes({ client, signal }: { client: WebDAVClient; signal: AbortSignal; }): Promise; /** * Get the directory content * * @param context - The context * @param context.client - The WebDAV client * @param context.path - The path to fetch * @param context.signal - The abort signal to cancel the request */ export declare function getNodes({ client, path, signal }: { client: WebDAVClient; path: string; signal: AbortSignal; }): Promise; /** * Get information for one file * * @param client The WebDAV client * @param path The path of the file or folder */ export declare function getFile(client: WebDAVClient, path: string): Promise;