export interface ResolvedImage { base64: string; filename: string; } /** * Resolves an image from various sources to a base64 string. * Supports: direct base64, local file path, HTTP(S) URL. */ export declare class ImageResolver { /** * Determines the source type from a string value. */ static detectSourceType(value: string): "base64" | "url" | "path"; /** * Reads a local file and returns its base64-encoded content. */ static fromPath(filePath: string): Promise; /** * Fetches an image from a URL and returns its base64-encoded content. */ static fromUrl(url: string): Promise; /** * Resolves an image from any supported source string. */ static resolve(source: string, fallbackFilename?: string): Promise; }