import { IFolder, INode } from '@nextcloud/files'; import { ComputedRef, Ref } from 'vue'; /** * Handle file loading using WebDAV * * @param currentView Reference to the current files view * @param currentPath Reference to the current files path */ export declare function useDAVFiles(currentView: Ref<'files' | 'recent' | 'favorites'> | ComputedRef<'files' | 'recent' | 'favorites'>, currentPath: Ref | ComputedRef): { isLoading: Ref; files: Ref; folder: import('vue').ShallowRef; loadFiles: () => Promise; createDirectory: (name: string) => Promise; };