import type * as OpenFin from '../../OpenFin'; import { Base } from '../base'; /** * @lends Frame */ export default class _FrameModule extends Base { /** * Asynchronously returns a reference to the specified frame. The frame does not have to exist * @param {Identity} identity - the identity of the frame you want to wrap * @return {Promise.<_Frame>} * @tutorial Frame.wrap * @static */ wrap(identity: OpenFin.Identity): Promise; /** * Synchronously returns a reference to the specified frame. The frame does not have to exist * @param {Identity} identity - the identity of the frame you want to wrap * @return {_Frame} * @tutorial Frame.wrapSync * @static */ wrapSync(identity: OpenFin.Identity): OpenFin.Frame; /** * Asynchronously returns a reference to the current frame * @return {Promise.<_Frame>} * @tutorial Frame.getCurrent * @static */ getCurrent(): Promise; /** * Synchronously returns a reference to the current frame * @return {_Frame} * @tutorial Frame.getCurrentSync * @static */ getCurrentSync(): OpenFin.Frame; }