import { ElementCompact } from 'xml-js'; import { DAVNamespaceShort } from './consts'; import { DAVDepth, DAVResponse } from './types/DAVTypes'; import { SmartCollectionSync, SmartCollectionSyncDetailed } from './types/functionsOverloads'; import { DAVCollection } from './types/models'; export declare const collectionQuery: (params: { url: string; body: any; depth?: DAVDepth; defaultNamespace?: DAVNamespaceShort; headers?: Record; headersToExclude?: string[]; fetchOptions?: RequestInit; fetch?: typeof fetch; }) => Promise; export declare const makeCollection: (params: { url: string; props?: ElementCompact; depth?: DAVDepth; headers?: Record; headersToExclude?: string[]; fetchOptions?: RequestInit; fetch?: typeof fetch; }) => Promise; export declare const supportedReportSet: (params: { collection: DAVCollection; headers?: Record; headersToExclude?: string[]; fetchOptions?: RequestInit; fetch?: typeof fetch; }) => Promise; export declare const isCollectionDirty: (params: { collection: DAVCollection; headers?: Record; headersToExclude?: string[]; fetchOptions?: RequestInit; fetch?: typeof fetch; }) => Promise<{ isDirty: boolean; newCtag: string; }>; /** * This is for webdav sync-collection only */ export declare const syncCollection: (params: { url: string; props: ElementCompact; headers?: Record; headersToExclude?: string[]; syncLevel?: number; syncToken?: string; fetchOptions?: RequestInit; fetch?: typeof fetch; }) => Promise; /** remote collection to local */ export declare const smartCollectionSync: SmartCollectionSync; export declare const smartCollectionSyncDetailed: SmartCollectionSyncDetailed;