import type { InitializationStatus } from './boilerplateTemplates'; /** * Status of one default Book or artifact referenced by the default coder scripts. * * `not-referenced` means that no newly added script points at the artifact, so `ptbk coder init` left it alone. * * @private internal utility of `coder init` command */ export type CoderReferencedArtifactStatus = InitializationStatus | 'augmented' | 'unresolved' | 'not-referenced'; /** * Result of ensuring one default Book or artifact referenced by the default coder scripts. * * @private internal utility of `coder init` command */ export type EnsuredCoderReferencedArtifact = { /** * Project-relative path of the referenced artifact. */ readonly relativeFilePath: string; /** * Status describing whether the artifact was created, augmented, preserved, or could not be resolved. */ readonly status: CoderReferencedArtifactStatus; /** Explanation of an unresolved file or TEAM declaration, with the original content preserved. */ readonly diagnostic?: string; }; /** * Initializes artifacts referenced by freshly added scripts. Default Books are ensured separately. * * For artifacts other than role Books, an existing project script does not cause default files to be created. * * @private function of `initializeCoderProjectConfiguration` */ export declare function ensureCoderReferencedArtifacts(projectPath: string, referencedArtifactPaths: ReadonlySet): Promise>;