import { type Logger } from "webappwiz/log"; import { Duration } from "webappwiz/time"; import type { Artifact, Stage } from "../artifact/artifact.js"; import type { Cut } from "../cut.js"; import type { CheckReport, Step, StepReport } from "../step.js"; import type { Registry } from "./registry.js"; /** One package, published through the registry that carries it. */ export declare class RegistryArtifact implements Artifact { readonly name: string; private readonly registry; readonly packages: readonly string[]; readonly stage: Stage; /** Set only when the registry has a CI job to trust. */ readonly trust?: (log: Logger) => Promise; private saidHeld; constructor(name: string, registry: Registry); trusted(): Artifact; deployed(): Promise; steps(cut: Cut): readonly Step[]; /** The check that follows a publish handed off to a run elsewhere, when this registry has one. */ private watching; /** Whether the version is installable yet, and if not, what it may be waiting on. */ live(cut: Cut, waited: Duration): Promise; publish(cut: Cut, report?: StepReport): Promise; }