import { ApplicationCustomizerContext } from '@microsoft/sp-application-base'; import { ListViewCommandSetContext } from '@microsoft/sp-listview-extensibility'; import { SPFolder } from 'models'; import { TemplateItem } from 'models/TemplateItem'; import { SPDataAdapterBase } from 'pp365-shared/lib/data'; import { ProjectDataService } from 'pp365-shared/lib/services'; import { ISPDataAdapterConfiguration } from './ISPDataAdapterConfiguration'; declare class SPDataAdapter extends SPDataAdapterBase { project: ProjectDataService; /** * Configure the SP data adapter * * @param spfxContext Context * @param settings Settings */ configure(spfxContext: ApplicationCustomizerContext | ListViewCommandSetContext, settings: ISPDataAdapterConfiguration): Promise; /** * Checks if the filename is valid * * @param folderServerRelativeUrl Folder server relative URL * @param name File name */ isFilenameValid(folderServerRelativeUrl: string, name: string): Promise; /** * Get document templates from the specified library on the hub site * * @param libraryName Library name * @param viewXml View XML (CAML query) */ getDocumentTemplates(libraryName: string, viewXml: string): Promise; /** * Get folders in the specified folder/library * * @param folderRelativeUrl Folder URL */ getFolders(folderRelativeUrl: string): Promise; /** * Get libraries in the current web */ getLibraries(): Promise; } declare const _default: SPDataAdapter; export default _default; //# sourceMappingURL=index.d.ts.map