import { DomReplaceCommand, DomReplacer } from "ssg-api";
import { HtmlRR0Context } from "./RR0Context.js";
/**
 * Register images (`<img>` tags) required in an HTML file.
 */
export declare class ImageCommand extends DomReplaceCommand<HTMLImageElement> {
    protected outBaseDir: string;
    protected maxWidth: number;
    protected maxHeight: number;
    protected baseUrl: string;
    constructor(outBaseDir: string, maxWidth: number, maxHeight: number, baseUrl?: string);
    protected createReplacer(context: HtmlRR0Context): Promise<DomReplacer<HTMLImageElement>>;
    protected postExecute(context: HtmlRR0Context): Promise<void>;
    private handleImage;
}
