import { SharePointQueryable, SharePointQueryableInstance, SharePointQueryableCollection } from "./sharepointqueryable"; /** * Describes a collection of List objects * */ export declare class Features extends SharePointQueryableCollection { /** * Creates a new instance of the Lists class * * @param baseUrl The url or SharePointQueryable which forms the parent of this fields collection */ constructor(baseUrl: string | SharePointQueryable, path?: string); /** * Gets a list from the collection by guid id * * @param id The Id of the feature (GUID) */ getById(id: string): Feature; /** * Adds a new list to the collection * * @param id The Id of the feature (GUID) * @param force If true the feature activation will be forced */ add(id: string, force?: boolean): Promise; /** * Removes (deactivates) a feature from the collection * * @param id The Id of the feature (GUID) * @param force If true the feature deactivation will be forced */ remove(id: string, force?: boolean): Promise; } export declare class Feature extends SharePointQueryableInstance { /** * Removes (deactivates) a feature from the collection * * @param force If true the feature deactivation will be forced */ deactivate(force?: boolean): Promise; } export interface FeatureAddResult { data: any; feature: Feature; }