import { DirectoryStep, FileWriteConfig, OutputFunc } from "ssg-api";
import { HtmlRR0Context, RR0Context } from "../../../../../RR0Context.js";
import { RR0Case } from "./RR0Case.js";
import { CaseService } from "./CaseService.js";
/**
 * Builds a directory page for UFO cases.
 */
export declare class CaseDirectoryStep extends DirectoryStep {
    protected caseService: CaseService;
    protected outputFunc: OutputFunc;
    /**
     *
     * @param caseService
     * @param rootDirs The directories where UFO cases info can be found.
     * @param excludedDirs The directories to exclude from the UFO case directory search.
     * @param templateFileName The template of the directory page to build.
     * @param outputFunc
     * @param config
     */
    constructor(caseService: CaseService, rootDirs: string[], excludedDirs: string[], templateFileName: string, outputFunc: OutputFunc, config: FileWriteConfig);
    /**
     * Convert an array of Case[] to an <ul> HTML unordered list.
     *
     * @param context
     * @param cases
     */
    protected toList(context: HtmlRR0Context, cases: RR0Case[]): HTMLUListElement;
    /**
     * Convert a Case object to an HTML list item.
     *
     * @param context
     * @param dirCase
     */
    protected toListItem(context: HtmlRR0Context, dirCase: RR0Case): HTMLLIElement;
    protected processDirs(context: HtmlRR0Context, dirNames: string[]): Promise<void>;
    /**
     * Read case JSON files contents and instantiate them as Case objects.
     *
     * @param context
     * @param dirNames The directories to look for case.json files.
     */
    protected scan(context: RR0Context, dirNames: string[]): Promise<RR0Case[]>;
}
