import { ComponentPayload } from './componentpayload'; import { ProblemMessageObject } from './errors'; import { ProjectFileService } from './projectfileservice'; /** * Represents the dependencies of a component payload based on a static analysis of the component JSON. */ export declare class ComponentPayloadDependencies { subComponentIds: string[]; childItemIds: string[]; /** List of ids from possibleChildren with componentIds. This **DOES NOT** include componentIds from itemId possibleChildren. */ childComponentIds: string[]; /** List of componentIds from both possibleChildren with itemId and componentId possibleChildren */ private allChildComponentIds; /** * Every main component can have a deep subComponent hierarchy. * This is a list of all such paths in those hierarchies. * This is useful to find cyclic dependencies in the component hierarchy. */ parentToSubComponentPaths: string[]; constructor(input: ComponentPayload); /** * @returns List of componentIds from both possibleChildren with itemId and componentId possibleChildren */ getAllChildComponentIds(itemDefinitions: any[] | ProjectFileService, problemsPushCallback?: ((problem: ProblemMessageObject) => void) | undefined): string[]; pushSubComponentHierarchyPathAndCheckCyclic(path: string[], ownerPayload: ComponentPayload): boolean; }