UNPKG

tsdav

Version:

WebDAV, CALDAV, and CARDDAV client for Nodejs and the Browser

28 lines (27 loc) 905 B
import { DAVAccount } from './types/models'; export declare const serviceDiscovery: (params: { account: DAVAccount; headers?: Record<string, string>; headersToExclude?: string[]; fetchOptions?: RequestInit; }) => Promise<string>; export declare const fetchPrincipalUrl: (params: { account: DAVAccount; headers?: Record<string, string>; headersToExclude?: string[]; fetchOptions?: RequestInit; }) => Promise<string>; export declare const fetchHomeUrl: (params: { account: DAVAccount; headers?: Record<string, string>; headersToExclude?: string[]; fetchOptions?: RequestInit; }) => Promise<string>; export declare const createAccount: (params: { account: DAVAccount; headers?: Record<string, string>; headersToExclude?: string[]; loadCollections?: boolean; loadObjects?: boolean; fetchOptions?: RequestInit; }) => Promise<DAVAccount>;