import { Application, Types } from "@arkecosystem/core-kernel"; import { CoreOptions, CryptoOptions, SandboxCallback } from "./contracts"; export declare class Sandbox { /** * @private * @type {Application} * @memberof Sandbox */ readonly app: Application; /** * @private * @type {Container.interfaces.Container} * @memberof Sandbox */ private readonly container; /** * @private * @type {ConfigPaths} * @memberof Sandbox */ private paths; /** * @private * @type {ConfigPaths} * @memberof Sandbox */ private readonly options; /** * Creates an instance of Sandbox. * * @memberof Sandbox */ constructor(); /** * @param {CoreOptions} options * @returns {this} * @memberof Sandbox */ withCoreOptions(options: CoreOptions): this; /** * @param {CryptoOptions} options * @returns {this} * @memberof Sandbox */ withCryptoOptions(options: CryptoOptions): this; /** * Boot the sandbox environment. * * @param {SandboxCallback} [callback] * @returns {Promise} * @memberof Sandbox */ boot(callback?: SandboxCallback): Promise; /** * Boot the sandbox environment. * * @param {SandboxCallback} [callback] * @returns {Promise} * @memberof Sandbox */ dispose(callback?: SandboxCallback): Promise; /** * Take a snapshot of the container. * * @memberof Sandbox */ snapshot(): void; /** * Restore the snapshot of the container. * * @memberof Sandbox */ restore(): void; /** * @param {{ name: string; path: string; klass: Types.Class }} { name, path, klass } * @returns {this} * @memberof Sandbox */ registerServiceProvider({ name, path, klass }: { name: string; path: string; klass: Types.Class; }): this; } //# sourceMappingURL=sandbox.d.ts.map