export type ArtifactType = "md" | "html" | "image" | "text";
export type ArtifactFailure = {
ok: false;
error: string;
status: 400 | 404;
};
export type ArtifactResolution = {
ok: true;
path: string;
type: ArtifactType;
size: number;
normalized: string;
} | ArtifactFailure;
export type ArtifactPreview = {
ok: true;
type: ArtifactType;
originalPath: string;
path: string;
title: string;
content: string | Buffer;
} | ArtifactFailure;
export declare function resolveArtifact(roomId: string, originalPath: string): ArtifactResolution;
export declare function readArtifactPreview(roomId: string, originalPath: string): ArtifactPreview;
//# sourceMappingURL=artifact-actions.d.ts.map