import { Observable } from 'rxjs';
/**
 * todo - the name of this service does not represent the file name. This should be refactored. Consider moving this service to the gadget module instead.
 */
export declare class GadgetInstanceService {
    private concreteGadgetInstances;
    private model;
    private subject;
    private subscribers;
    constructor();
    addInstance(gadget: any): void;
    enableConfigureMode(): void;
    removeInstance(id: number): void;
    getInstanceCount(): number;
    setCurrentModel(model: any): void;
    listenForInstanceRemovedEventsFromGadgets(): Observable<string>;
    addSubscriber(subscriber: any): void;
    unSubscribeAll(): void;
    clearAllInstances(): void;
}
