import { ServiceReference, AUTOSTART_POLICY_YES, AUTOSTART_POLICY_NO } from './api/index.js'; import 'apprt-core/Types'; declare const constants: { SERVICE_REFERENCE_COMPARATOR(a: ServiceReference, b: ServiceReference): number; /** * Location identifier of the OSGi system bundle, which is defined * to be "System Bundle". */ SYSTEM_BUNDLE_LOCATION: string; /** * Alias for the symbolic name of the OSGi system bundle . It is * defined to be "system". * * @since 1.3 */ SYSTEM_BUNDLE_SYMBOLICNAME: string; /** * Header identifying the bundle's current state(added at runtime). * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_STATE: string; /** * Header identifying the bundle's id in the framework(added at runtime). * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_ID: string; /** * Manifest header identifying the location of this bundle (added at runtime). * * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_LOCATION: string; /** * Manifest header identifying the bundle's category. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_CATEGORY: string; /** * Manifest header identifying the bundle's copyright information. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_COPYRIGHT: string; /** * Manifest header containing a brief description of the bundle's * functionality. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_DESCRIPTION: string; /** * Manifest header identifying the bundle's name. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_NAME: string; /** * Manifest header identifying the bundle's startLevel, may be modified by _StartLevel methods. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_STARTLEVEL: string; /** * Manifest header identifying the bundle's autostart policy. * Values are: "yes" | "no" * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_AUTOSTARTPOLICY: string; AUTOSTARTPOLICY_YES: AUTOSTART_POLICY_YES; AUTOSTARTPOLICY_NO: AUTOSTART_POLICY_NO; /** * Manifest header identifying the bundle's vendor. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_VENDOR: string; /** * Manifest header identifying the bundle's version. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_VERSION: string; /** * Manifest header identifying the bundle's documentation URL, from which * further information about the bundle may be obtained. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_DOCURL: string; /** * Manifest header identifying the bundle's icon. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_ICON: string; /** * Manifest header identifying the bundle's license. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_LICENSE: string; /** * Manifest header identifying the contact address where problems with the * bundle may be reported; for example, an email address. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_CONTACTADDRESS: string; /** * Manifest header attribute identifying the bundle's activator class. * * If present, this header specifies the name of the bundle resource class * that implements the `BundleActivator` interface and whose * `start` and `stop` methods are called by the * Framework when the bundle is started and stopped, respectively. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_ACTIVATOR: string; BUNDLE_ACTIVATIONPOLICY: string; ACTIVATION_LAZY: string; /** * Manifest header identifying the required execution environment for the * bundle. The service platform may run this bundle if any of the execution * environments named in this header matches one of the execution * environments it implements. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_REQUIREDEXECUTIONENVIRONMENT: string; /** * Manifest header identifying a excluded execution environment for the * bundle. The service platform may run this bundle only if none of the execution * environments named in this header matches one of the execution * environments it implements. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_EXCLUDEDEXECUTIONENVIRONMENT: string; /** * Manifest header identifying the bundle's symbolic name. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_SYMBOLICNAME: string; /** * Manifest header identifying the base name of the bundle's localization * entries. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. * * @see #BUNDLE_LOCALIZATION_DEFAULT_BASENAME */ BUNDLE_LOCALIZATION: string; /** * Default value for the `Bundle-Localization` manifest header. * * @see #BUNDLE_LOCALIZATION */ BUNDLE_LOCALIZATION_DEFAULT_BASENAME: string; /** * This is an dynamic manifest property used to transport. Additional to load i18n. * It is normally added by a ConfigLocator. * And not defined by the bundle. */ BUNDLE_EXT_LOCALIZATION: string; /** * Manifest header identifying the base namespace of this bundle. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_NAMESPACE: string; /** * Manifest header identifying the api layer file this bundle. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_LAYER: string; /** Manifest header disabling fetching of any js file during "resolve" phase */ BUNDLE_SKIP_RESOLVE: string; /** * The default value for bundle layer file. */ BUNDLE_LAYER_DEFAULT: string; /** * Manifest header identifying the api layer file this bundle. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_MAIN: string; /** * The default value for bundle layer file. */ BUNDLE_MAIN_DEFAULT: string; BUNDLE_DEPENDENCIES: string; BUNDLE_DEPENDENCIES_OPTIONAL: string; /** * Manifest header identifying the required bundles. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ REQUIRE_BUNDLE: string; /** * Manifest header identifying the symbolic names of other bundles required * by the bundle. Added by the framework at runtime. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ REQUIRE_BUNDLE_NAMES: string; /** * Manifest header identifying the bundle manifest version. A bundle * manifest may express the version of the syntax in which it is written by * specifying a bundle manifest version. Bundles exploiting OSGi Release 4, * or later, syntax must specify a bundle manifest version. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_MANIFESTVERSION: string; /** * Manifest header identifying the bundle product name. * * The attribute value may be retrieved from the `Dictionary` * object returned by the `Bundle.getHeaders` method. */ BUNDLE_PRODUCTNAME: string; /** * Manifest header directive value identifying a mandatory resolution type. * A mandatory resolution type indicates that the require * bundle must be resolved when the bundle is resolved. If such an import or * require bundle cannot be resolved, the module fails to resolve. */ RESOLUTION_MANDATORY: string; /** * Manifest header directive value identifying an optional resolution type. * An optional resolution type indicates that the require bundle * is optional and the bundle may be resolved without the require * bundle being resolved. If the require bundle is not resolved * when the bundle is resolved, the require bundle may not be * resolved before the bundle is refreshed. */ RESOLUTION_OPTIONAL: string; /** * Specifies the beginning start level of the framework. */ FRAMEWORK_BEGINNING_STARTLEVEL: string; /** * Specifies the start level of the framework if it is running. */ FRAMEWORK_RUNNING_STARTLEVEL: string; /** * Service property identifying all of the class names under which a service * was registered in the Framework. The value of this property must be of * type `String[]`. * * This property is set by the Framework when a service is registered. */ OBJECTCLASS: string; /** * Service property identifying a service's registration number. * * The value of this property is assigned by the Framework when a service is * registered. The Framework assigns a unique value that is larger than all * previously assigned values since the Framework was started. These values * are NOT persistent across restarts of the Framework. */ SERVICE_ID: string; /** * Service property identifying the service's registration bundle id. * * The value of this property is assigned by the Framework when a service is * registered. These values are NOT persistent across restarts of the Framework. */ SERVICE_BUNDLE_ID: string; /** * Service property identifying a service's persistent identifier. * * This property may be supplied in the `properties` * `Dictionary` object passed to the * `BundleContext.registerService` method. The value of this * property must be of type `String`, `String[]`, or * `Collection` of `String`. * * A service's persistent identifier uniquely identifies the service and * persists across multiple Framework invocations. * * By convention, every bundle has its own unique namespace, starting with * the bundle's identifier (see {@link Bundle#getId}) and followed by * a dot (.). A bundle may use this as the prefix of the persistent * identifiers for the services it registers. */ SERVICE_PID: string; /** * Used by the configuration admin service. */ SERVICE_FACTORY_PID: string; /** * Service property identifying a service's ranking number. * * This property may be supplied in the `properties * Dictionary` object passed to the * `BundleContext.registerService` method. The value of this * property must be of type `Integer`. * * The service ranking is used by the Framework to determine the natural * order of services, see {@link ServiceReference#compareTo(Object)}, * and the default service to be returned from a call to the * {@link BundleContext#getServiceReference} method. * * The default ranking is zero (0). A service with a ranking of * `Integer.MAX_VALUE` is very likely to be returned as the * default service, whereas a service with a ranking of * `Integer.MIN_VALUE` is very unlikely to be returned. * * If the supplied property value is not of type `Integer`, it is * deemed to have a ranking value of zero. */ SERVICE_RANKING: string; /** * Service property identifying a service's vendor. * * This property may be supplied in the properties `Dictionary` * object passed to the `BundleContext.registerService` method. */ SERVICE_VENDOR: string; /** * Service property identifying a service's description. * * This property may be supplied in the properties `Dictionary` * object passed to the `BundleContext.registerService` method. */ SERVICE_DESCRIPTION: string; /** * Configuration property naming the bundle identifier of the bundle that is * associated with a a `Configuration` object. * The property's value is of type `String`. */ SERVICE_BUNDLE_IDENTIFIER: string; /** * A service property to limit the Managed Service or Managed Service * Factory configuration dictionaries a Configuration Plugin service * receives. * * This property contains a `String[]` of PIDs. A Configuration * Admin service must call a Configuration Plugin service only when this * property is not set, or the target service's PID is listed in this * property. */ CM_TARGET: string; /** * A service property to specify the order in which plugins are invoked. * * This property contains an `Integer` ranking of the plugin. * Not specifying this registration property, or setting it to something * other than an `Integer`, is the same as setting it to the * `Integer` zero. This property determines the order in which * plugins are invoked. Lower ranked plugins are called before higher ranked * ones. */ CM_RANKING: string; }; declare const _default: Readonly; export { _default as default };