import type { GrowContext } from "../context"; import type { Log } from "../logger/log-entry"; /** * @param type task | test * @param name name of the task or test * @param version the version of the module that the task/test belongs to */ export declare function getArtifactKey(type: "run" | "test", name: string, version: string): string; /** * Returns the file list from the artifact metadata file (under `.garden/artifacts/.metadata..json) * for the given artifact key. * * Returns an empty array if the metadata file is not found or if we can't parse it. */ export declare function getArtifactFileList({ artifactsPath, key, log, }: { artifactsPath: string; key: string; log: Log; }): Promise; /** * Copies the artifacts exported by a plugin handler to the user's artifact directory. * * @param log LogEntry * @param artifactsPath the temporary directory path given to the plugin handler */ export declare function copyArtifacts({ grow, log, artifactsPath, key, }: { grow: GrowContext; log: Log; artifactsPath: string; key: string; }): Promise;