///
import { IAppMetadata, IAddedApp } from './utils/IAppMetadata';
import { IOptions } from './utils/IAlmTasks';
import { ISiteCollectionAppCatalogsSites } from './utils/ISiteCollectionAppCatalogsSites';
export declare class ALM {
private _internalOptions;
constructor(options: IOptions);
/**
* List available packages from app catalog
* @param useAppCatalog Default: true
*/
list(useAppCatalog?: boolean): Promise;
/**
* Details on individual solution package from app catalog
* @param pkgId Provide the GUID of the solution
* @param useAppCatalog Default: true
*/
appDetails(pkgId: string, useAppCatalog?: boolean): Promise;
/**
* Add solution package to app catalog
* @param filename Provide the filename
* @param contents Provide the file contents
* @param overwrite Default: true
* @param useAppCatalog Default: true
*/
add(filename: string, contents: Buffer, overwrite?: boolean, useAppCatalog?: boolean): Promise;
/**
* Deploy solution package in app catalog
* @param pkgId Provide the GUID of the solution
* @param skipFeatureDeployment Specify if you want to skip feature deployment
* @param useAppCatalog Default: true
*/
deploy(pkgId: string, skipFeatureDeployment: boolean, useAppCatalog?: boolean): Promise;
/**
* Retract solution package in app catalog
* @param pkgId Provide the GUID of the solution
* @param useAppCatalog Default: true
*/
retract(pkgId: string, useAppCatalog?: boolean): Promise;
/**
* Remove solution package from app catalog
* @param pkgId Provide the GUID of the solution
* @param useAppCatalog Default: true
*/
remove(pkgId: string, useAppCatalog?: boolean): Promise;
/**
* Install solution package from app catalog to SharePoint site
* @param pkgId Provide the GUID of the solution
*/
install(pkgId: string): Promise;
/**
* Uninstall solution package from SharePoint site
* @param pkgId Provide the GUID of the solution
*/
uninstall(pkgId: string): Promise;
/**
* Upgrade solution package in SharePoint site
* @param pkgId Provide the GUID of the solution
*/
upgrade(pkgId: string): Promise;
/**
* List available site collection app catalogs
*/
getCatalogSites(): Promise;
}