import { ISPField , ISPLists } from "../common/SPEntities" ; export enum LibsOrderBy { Id = 1 , Title } /**
 * Options used to sort and filter
 */ export interface ILibsOptions { orderBy ? : LibsOrderBy ; baseTemplate ? : number | number [ ] ; includeHidden ? : boolean ; filter ? : string ; contentTypeId ? : string ; } export interface ISPService { param options getLibs ( options ? ) : Promise < ISPLists > ; getListItems ? ( filterText , listId , internalColumnName , field , keyInternalColumnName ? , webUrl ? ) : Promise < any [ ] > ; getField : ( listId : string , internalColumnName : string , webUrl ? : string ) => Promise < ISPField | undefined > ; }