import { IAnnotatedValue } from "../core/AnnotatedValue";
import ContentIndex, { AnnotationCategory, IAnnotatedIndexData } from "../core/ContentIndex";
import IFolder from "./IFolder";
export default class DistributedContentIndex {
    #private;
    get items(): string[];
    get isError(): boolean;
    get startLength(): number;
    constructor(rootFolder: IFolder);
    getValuesFromIndexArray(indices: (IAnnotatedIndexData | number)[]): IAnnotatedValue[];
    ensureLoaded(): Promise<void>;
    getMatches(searchString: string, wholeTermSearch?: boolean, withAnyAnnotation?: AnnotationCategory[]): Promise<IAnnotatedValue[]>;
    getTermMatch(term: string): Promise<any>;
    getDescendentStrings(term: string): Promise<{
        [fullKey: string]: IAnnotatedValue[];
    }>;
    static saveContentIndexToFolder(contentIndex: ContentIndex, folder: IFolder): Promise<void>;
}
