import { IKosDataModel, IKosIdentifiable, KosContainerAwareWithProp, KosFutureAwareFull, KosLoggerAware, KosModelRegistrationType, PublicModelInterface } from '../../../core';
import { TroubleResponse } from '../trouble/services';
import { TroubleModel } from '../trouble/types';
import { TroubleContainerOptions } from './types';
export declare const MODEL_TYPE = "trouble-container-model";
export type TroubleContainerModel = PublicModelInterface<TroubleContainerModelImpl>;
export interface TroubleContainerModelImpl extends KosContainerAwareWithProp<TroubleModel, "troubles">, KosFutureAwareFull, KosLoggerAware {
}
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 IKosIdentifiable, IKosDataModel {
    static Registration: KosModelRegistrationType<TroubleContainerModelImpl, TroubleContainerOptions>;
    id: string;
    servicePath: string;
    constructor(modelId: string, options: TroubleContainerOptions);
    reload(): Promise<void>;
    load(): Promise<void>;
    resolveAll(tracker?: string): Promise<import('../..').FutureResponse>;
    handleTroubleRemoved(id: string): void;
    handleTroubleAdded(trouble: TroubleResponse): void;
}
//# sourceMappingURL=trouble-container-model.d.ts.map