import type { ResourceChangeEvent } from '../storage/ObservableResourceStore'; import type { DeviceNotificationOperation } from './device-notification-protocol'; export interface DeviceNotificationResourcePublisher { publish(event: { topic: string; object?: string; operation: DeviceNotificationOperation; }): void; } export interface DeviceNotificationResourceListenerOptions { origin: string; hub: DeviceNotificationResourcePublisher; } export declare class DeviceNotificationResourceListener { private readonly origin; private readonly hub; constructor(options: DeviceNotificationResourceListenerOptions); onResourceChanged(event: ResourceChangeEvent): Promise; private toResourceUrl; private toParentTopic; }