import { Particle } from './particle'; export declare class Subscriptions { private subscriptions; constructor(); /** * Subscriptions will be applied by outside message if id will be the same. * * @param particle * @param ttl time to live, subscription will be deleted after this time */ subscribe(particle: Particle, ttl: number): void; update(particle: Particle): boolean; get(id: string): Particle | undefined; hasSubscription(particle: Particle): boolean; } //# sourceMappingURL=subscriptions.d.ts.map