import type * as OpenFin from '../../OpenFin'; import { Base } from '../base'; /** * @lends View */ export default class ViewModule extends Base { /** * Creates a new View. * @param { View~options } options - View creation options * @return {Promise.} * @tutorial View.create * @experimental * @static */ create(options: OpenFin.ViewCreationOptions): Promise; /** * Asynchronously returns a View object that represents an existing view. * @param { Identity } identity * @return {Promise.} * @tutorial View.wrap * @experimental * @static */ wrap(identity: OpenFin.Identity): Promise; /** * Synchronously returns a View object that represents an existing view. * @param { Identity } identity * @return {View} * @tutorial View.wrapSync * @experimental * @static */ wrapSync(identity: OpenFin.Identity): OpenFin.View; /** * Asynchronously returns a View object that represents the current view * @return {Promise.} * @tutorial View.getCurrent * @experimental * @static */ getCurrent(): Promise; /** * Synchronously returns a View object that represents the current view * @return {View} * @tutorial View.getCurrentSync * @experimental * @static */ getCurrentSync(): OpenFin.View; }