import type { ActiveRun, KdPhase } from "./types.ts"; import type { ProductProfile } from "../product/profile.ts"; export declare function ensureRunDirectories(cwd: string, run: ActiveRun): void; export declare function artifactExists(cwd: string, run: ActiveRun, artifactName: string): boolean; export declare function phaseArtifactPath(cwd: string, run: ActiveRun, phase: KdPhase): string; export declare function readArtifact(cwd: string, run: ActiveRun, phase: KdPhase): string | undefined; export declare function writeArtifact(cwd: string, run: ActiveRun, phase: KdPhase, content: string): string; export declare function ensureArtifact(cwd: string, run: ActiveRun, phase: KdPhase, content: string): string; export declare function defaultArtifactContent(phase: KdPhase, goal?: string, profile?: ProductProfile): string;