/**
 * Module: llm/gen/artifacts
 *
 * Helpers for reading persisted dialog artifacts (e.g., MCP screenshots) from disk.
 */
export type DialogArtifactIdent = {
    rootId: string;
    selfId: string;
    status: 'running' | 'completed' | 'archived';
    relPath: string;
};
export type VisionImageMimeType = 'image/jpeg' | 'image/png' | 'image/gif' | 'image/webp';
export declare function isVisionImageMimeType(mimeType: string): mimeType is VisionImageMimeType;
export declare function bytesToDataUrl(params: {
    mimeType: string;
    bytes: Buffer;
}): string;
export declare function normalizeDialogArtifactRelPath(raw: string): string | null;
export declare function locateDialogArtifactFilePath(params: {
    rootId: string;
    selfId: string;
    status: 'running' | 'completed' | 'archived';
    relPath: string;
}): Promise<string | null>;
export declare function readDialogArtifactBytes(params: DialogArtifactIdent): Promise<Buffer | null>;
