import { IComposerDone } from "./Composer"; import { GuidValue } from '@omnia/fx-models'; export interface IDependencyComposer { /** * Add dependencies to other manifests * Dependent manifests will be loaded before the current manifest is loaded. */ withNoDependency: () => T; /** * Add dependencies to other manifests * Dependent manifests will be loaded before the current manifest is loaded. */ withDependency: (manifestId: GuidValue) => ICompletableDependencyComposer; /** * Add dependencies to a manifest in another omnia service * Dependent manifests will be loaded before the current manifest is loaded. */ withExternalDependency: (omniaServiceId: GuidValue, manifestId: GuidValue) => ICompletableDependencyComposer; } export interface ICompletableDependencyComposer extends IDependencyComposer, IComposerDone { } export declare class DependencyComposer implements ICompletableDependencyComposer { private currentManifestId; private composerForDone; constructor(currentManifestId: string, composerForDone: T); done: () => T; withNoDependency: () => T; withDependency: (manifestId: GuidValue) => this; withExternalDependency: (omniaServiceId: GuidValue, manifestId: GuidValue) => this; }