import { ProblemMessageObject } from './errors'; import { Id } from './id'; /** * Structure for collecting component and item IDs, as well as problems that are collected during the dependency crawling. */ export declare class ListOfIds { componentIds: string[]; rootComponentIds: string[]; itemIds: string[]; problems: ProblemMessageObject[]; constructor(from?: any | undefined); pushComponentId(id: Id | string, isRoot: boolean): void; pushItemId(id: Id | string): void; checkStringSensitiveDuplicates(): ProblemMessageObject | undefined; sort(): void; /** * Merges multiple ListOfIds instances into one in a way that all componentIds, rootComponentIds, itemIds and problems are unique. * @param lists source of lists to merge * @returns */ static merge(lists: ListOfIds[]): ListOfIds; }