import { EnvOptions } from '../../../options'; import { Project } from '../project'; import { ArtifactsGlobalHelper } from './__helpers__/artifacts-helpers'; import type { IArtifactProcessObj } from './base-artifact'; import { FilesRecreator } from './npm-lib-and-cli-tool/tools/files-recreation'; /** * Artifact manager * Responsible for group actions on * current project or/and children projects */ export declare class ArtifactManager { /** * @deprecated * this will be protected in future */ artifact: IArtifactProcessObj; private project; globalHelper: ArtifactsGlobalHelper; readonly filesRecreator: FilesRecreator; static for(project: Project): ArtifactManager; private constructor(); clear(options: EnvOptions): Promise; clearAllChildren(options: EnvOptions): Promise; /** * struct current project only * struct() <=> init() with struct flag */ struct(initOptions: EnvOptions): Promise; /** * struct all children artifacts */ structAllChildren(options: EnvOptions): Promise; init(initOptions: EnvOptions): Promise; initAllChildren(options: EnvOptions): Promise; /** * @deprecated */ private buildWatchCmdForArtifact; build(buildOptions: EnvOptions): Promise; buildAllChildren(options: EnvOptions, children?: Project[]): Promise; release(releaseOptions: EnvOptions, autoReleaseProcess?: boolean): Promise; releaseAllChildren(options: EnvOptions, children?: Project[]): Promise; tryCatchWrapper(action: () => any, actionName: 'release' | 'build' | 'init' | 'clear' | 'struct' | 'brand', project?: Project): Promise; private recreateAndFixCoreFiles; }