import type { ArtifactMetadataRef, StoredArtifact, StoredArtifactInput, StoredArtifactRef } from "../types.js";
export declare const ARTIFACT_DIR_ENV = "TOKENJUICE_ARTIFACT_DIR";
export declare function resolveArtifactBaseDir(storeDir?: string): string;
export declare function isValidArtifactId(id: string): boolean;
export declare function storeArtifact(input: StoredArtifactInput, storeDir?: string): Promise<StoredArtifactRef>;
export declare function storeArtifactMetadata(input: StoredArtifactInput, storeDir?: string): Promise<ArtifactMetadataRef>;
export declare function getArtifact(id: string, storeDir?: string): Promise<StoredArtifact | null>;
export declare function listArtifacts(storeDir?: string): Promise<StoredArtifactRef[]>;
export declare function listArtifactMetadata(storeDir?: string): Promise<ArtifactMetadataRef[]>;
