import { HtmlSsgContext, Link, ReplaceCommand } from "ssg-api";
import { HtmlRR0Context } from "./RR0Context.js";
export interface LinkHandler<C extends HtmlSsgContext> {
    start(context: C): Link | undefined;
    contents(context: C): Link | undefined;
    prev(context: C): Link | undefined;
    next(context: C): Link | undefined;
}
/**
 * Convert meta <link> to HTML <nav> links.
 */
export declare class MetaLinkReplaceCommand<C extends HtmlRR0Context = HtmlRR0Context> implements ReplaceCommand<C> {
    protected defaultHandler?: LinkHandler<C>;
    constructor(defaultHandler?: LinkHandler<C>);
    execute(context: C): Promise<void>;
    contentStepEnd(): Promise<void>;
    protected linkItem(context: HtmlRR0Context, link: Link): HTMLLIElement;
}
