import { ISPPullOptions, ISPPullContext, IFileBasicMetadata } from '../interfaces'; import { IContent } from '../interfaces/content'; export default class RestAPI { private context; private options; private spr; private agent; private utils; private apiSupportCheck; constructor(context: ISPPullContext, options: ISPPullOptions); downloadFile(spFilePath: string, metadata?: IFileBasicMetadata): Promise; getFolderContent(spRootFolder: string): Promise; getContentWithCaml(): Promise; private checkIfFolderInDocLibrary; private download; private needToDownload; private getCachedRequest; private checkModernApisSupport; }