export interface ArtifactMetadata { id: string; size: number; mimeType?: string; source?: string; tags?: string[]; createdAt: string; description?: string; } export interface ArtifactPutResult { id: string; size: number; summary: string; } /** * Context bound by the CLI bootstrap so every artifact write carries * the active profile + CLI version into the transparency log. Kept * module-local so the ArtifactStore class stays decoupled from * auth/profile state. */ interface ArtifactLogContext { profile?: string; cliVersion?: string; /** Set to false to disable the transparency log (tests, --self-test). */ enabled: boolean; } export declare function setArtifactLogContext(ctx: Partial> & { enabled?: boolean; }): void; export declare class ArtifactStore { private readonly root; private indexCache; constructor(root?: string); put(content: string | Buffer, meta?: Partial): ArtifactPutResult; get(id: string): Buffer; getString(id: string): string; has(id: string): boolean; meta(id: string): ArtifactMetadata | null; list(filter?: { source?: string; tag?: string; }): ArtifactMetadata[]; private blobPath; private indexPath; private loadIndex; private writeMeta; private buildSummary; } export declare function getSharedArtifactStore(): ArtifactStore; export {}; //# sourceMappingURL=artifactStore.d.ts.map