import type * as OpenFin from '../../OpenFin'; import { Base } from '../base'; import { SnapshotSource } from './Instance'; /** * @REMOVED * @typedef { object } SnapshotProvider * @property {getSnapshot} [getSnapshot] * @property {applySnapshot} [applySnapshot] */ /** * @lends SnapshotSource */ export default class SnapshotSourceModule extends Base { /** * Initializes a SnapshotSource with the getSnapshot and applySnapshot methods defined. * @param { SnapshotProvider } provider * @return { Promise } * @tutorial SnapshotSource.init * @static */ init(provider: OpenFin.SnapshotProvider): Promise; /** * Synchronously returns a SnapshotSource object that represents the current SnapshotSource. * @param { Identity } identity * @return { SnapshotSource } * @tutorial SnapshotSource.wrapSync * @static */ wrapSync(identity: OpenFin.ApplicationIdentity): SnapshotSource; /** * Asynchronously returns a SnapshotSource object that represents the current SnapshotSource. * @param { Identity } identity * @return { Promise. } * @tutorial SnapshotSource.wrap * @static */ wrap(identity: OpenFin.ApplicationIdentity): Promise; }