/*! Copyright (c) 2018 Siemens AG. Licensed under the MIT License. */ import { Uuid } from ".."; import { CommonOptions, DatabaseOptions } from "./configuration"; /** * Provides access to runtime data of a Coaty container, including common * configuration options, as well as platform and framework meta information. */ export declare class Runtime { private _commonOptions; private _databaseOptions; /** * Gets common options specified in container configuration (optional). */ get commonOptions(): Readonly; /** * Gets database options specified in container configuration (optional). */ get databaseOptions(): Readonly; /** * Determines whether container is running on a CommonJS platform (such as * Node.js). */ get isCommonJsPlatform(): boolean; /** * Determines whether container is running in a web browser (excluding web * worker). */ get isWebPlatform(): boolean; /** * Determines whether container is running inside a web worker. */ get isWebWorkerPlatform(): boolean; /** * Gets the framework's package name. */ get frameworkName(): string; /** * Gets the framework package version. */ get frameworkVersion(): string; /** * Gets the framework's build date. */ get frameworkBuildDate(): Date; /********************************************************* * AUTO GENERATED - DO NOT EDIT THE FOLLOWING DEFINITIONS! * PROPER VALUES ARE INJECTED WHEN BUILDING THE FRAMEWORK. */ private static FRAMEWORK_PACKAGE_NAME; private static FRAMEWORK_PACKAGE_VERSION; private static FRAMEWORK_BUILD_DATE; /********************************************************* * END OF AUTO GENERATED CODE */ private _isCommonJsPlatform; private _isWebPlatform; private _isWebWorkerPlatform; /** @internal - For internal use in framework only. */ constructor(_commonOptions: CommonOptions, _databaseOptions: DatabaseOptions); /** * Returns a newly generated UUID v4. */ static newUuid(): string; /** * Returns a newly generated UUID v4. */ newUuid(): Uuid; }