import { IApplication } from './types/api.interfaces';
import { IWebexAppsSpace, IWebexAppsSpaceState } from './types/space.interfaces';
/**
* Webex Embedded Apps Space instance.
* @example
*
This can be accessed as follows,
* ```javascript
* const app = new webex.Application();
* await app.onReady();
* const space = app.space;
* const spaceInfo = space.states;
* ```
* `spaceInfo` properties are documented at {@link IWebexAppsSpaceState}
* @public
*/
declare class WebexAppsSpace implements IWebexAppsSpace {
/**
* @internal
*/
sdk: IApplication;
/**
* @public
* Holds space information obtained from {@link IContext.getSpace | app.context.getSpace()}
*/
states: IWebexAppsSpaceState;
/**
* @internal
*/
constructor(sdk: IApplication);
/**
* @internal
*/
initialze(): Promise;
/**
* @internal
*/
updateStates(newStates: IWebexAppsSpaceState, eventName?: string): void;
/**
* @internal
*/
getSpace(): Promise;
/**
* Fired when information about the space in which the application is running changes.
*
* @event
* @remarks Available since 1.1.0
*
* @example
* ```javascript
* app.onReady().then(() => {
* app.listen()
* .then(() => {
* app.on("space:infoChanged", (space) => {
* console.log("Space information changed. New space info:", space);
* })
* })
* .catch((reason) => {
* console.error("listen: fail reason=" + webex.Application.ErrorCodes[reason]);
* });
* });
* ```
*/
readonly 'space:infoChanged': IWebexAppsSpaceState;
}
export default WebexAppsSpace;
//# sourceMappingURL=space.d.ts.map