import { Unsubscribes } from './types';
declare class SubscriptionManager {
    streambundle: any;
    selfContext: string;
    app: any;
    constructor(app: any);
    subscribe: (command: any, unsubscribes: Unsubscribes, errorCallback: (err: any) => void, callback: (msg: any) => void, user?: string) => void;
    unsubscribe(msg: any, unsubscribes: Unsubscribes): void;
}
export = SubscriptionManager;
