import { TroubleContainerModel } from './types';
import { TroubleModel } from '../trouble/types';
import { TroubleResponse } from '../trouble/services';
import { IKosModelContainer } from '../../../core/core/kos-container-model';

export declare const MODEL_TYPE = "trouble-container-model";
export declare class Troubles {
    static readonly INDEX_TROUBLES_BY_IFACE = "byIface";
    static readonly INDEX_TROUBLES_BY_TYPE = "byType";
    static readonly INDEX_TROUBLES_BY_GROUP = "byGroup";
    static readonly INDEX_TROUBLES_BY_DEFERRED = "byDeferred";
    static readonly SORT_KEY_RANK = "rank";
    static readonly TROUBLES_DEFERRED = "true";
}
export declare class TroubleContainerModelImpl implements TroubleContainerModel {
    id: string;
    troubles: IKosModelContainer<TroubleModel>;
    constructor(modelId: string);
    load(): Promise<void>;
    handleTroubleRemoved(id: string): void;
    handleTroubleAdded(trouble: TroubleResponse): void;
}
//# sourceMappingURL=trouble-container-model.d.ts.map