import type * as OpenFin from '../../OpenFin'; import { Base } from '../base'; import { Transport } from '../../transport/transport'; /** * Enables configuring a SnapshotSource with custom getSnapshot and applySnapshot methods. * @namespace */ export declare class SnapshotSource extends Base { #private; constructor(wire: Transport, id: OpenFin.ApplicationIdentity); get identity(): OpenFin.ApplicationIdentity; /** * Method to determine if the SnapshotSource has been initialized. * * Use when the parent application is starting up to ensure the SnapshotSource is able to accept and * apply a snapshot using the {@link SnapshotSource#applySnapshot applySnapshot} method. * @return { Promise } * @tutorial SnapshotSource.ready */ ready(): Promise; /** * Call the SnapshotSource's getSnapshot method defined by {@link SnapshotSource#init init}. * @return { Promise } */ getSnapshot(): Promise; /** * Call the SnapshotSource's applySnapshot method defined by {@link SnapshotSource#init init}. * @return { Promise } */ applySnapshot(snapshot: T): Promise; }