declare const EventConstants: { /** * Service registration property (named `Event-Topics`) * specifying the `Event` topics of interest to a Event Handler * service. * * Event handlers SHOULD be registered with this property. The value of the * property is a string or an array of strings that describe the topics in * which the handler is interested. An asterisk ('*') may be used as a * trailing wildcard. Event Handlers which do not have a value for this * property must not receive events. More precisely, the value of each * string must conform to the following grammar: * * ``` * topic-description := '*' | topic ( '/*' )? * topic := token ( '/' token )* * ``` * * @see Event */ EVENT_TOPIC: string; /** * Service Registration property (named `Event-Filter`) * specifying a filter to further select `Event` s of interest to * a Event Handler service. * * Event handlers MAY be registered with this property. The value of this * property is a string containing an LDAP-style filter specification. Any * of the event's properties may be used in the filter expression. Each * event handler is notified for any event which belongs to the topics in * which the handler has expressed an interest. If the event handler is also * registered with this service property, then the properties of the event * must also match the filter for the event to be delivered to the event * handler. * * If the filter syntax is invalid, then the Event Handler must be ignored * and a warning should be logged. * * @see Event * @see Filter */ EVENT_FILTER: string; /** * The Bundle Symbolic Name of the bundle relevant to the event. The type of * the value for this event property is `String`. */ BUNDLE_SYMBOLICNAME: string; /** * The Bundle id of the bundle relevant to the event. The type of the value * for this event property is `Long`. * * @since 1.1 */ BUNDLE_ID: string; /** * The Bundle object of the bundle relevant to the event. The type of the * value for this event property is {@link Bundle}. * * @since 1.1 */ BUNDLE: string; /** * The version of the bundle relevant to the event. The type of the value * for this event property is {@link Version}. * * @since 1.2 */ BUNDLE_VERSION: string; /** * The forwarded event object. Used when rebroadcasting an event that was * sent via some other event mechanism. The type of the value for this event * property is `Object`. */ EVENT: string; /** * An exception or error. The type of the value for this event property is * `Throwable`. */ EXCEPTION: string; /** * The exception message. The type of the value for this event property is * `String`. */ EXCEPTION_MESSAGE: string; /** * A human-readable message that is usually not localized. The type of the * value for this event property is `String`. */ MESSAGE: string; /** * A service reference. The type of the value for this event property is * {@link ServiceReference}. */ SERVICE: string; /** * A service's id. The type of the value for this event property is * `Long`. */ SERVICE_ID: string; /** * A service's objectClass. The type of the value for this event property is * `String[]`. */ SERVICE_OBJECTCLASS: string; /** * A service's persistent identity. The type of the value for this event * property is `String`. */ SERVICE_PID: string; /** * The time when the event occurred, as reported by * `new Date()`. The type of the value for this * event property is `Date`. */ TIMESTAMP: string; }; declare const _default: Readonly; export { _default as default };