import type { Build } from "../..";
export declare const LLMS_INDEX_FILENAME = "llms.txt";
export declare const LLMS_FULL_FILENAME = "llms-full.txt";
export type LlmsArgs = {
    llms: boolean;
};
export type LlmsConfig = {
    llms: {
        enabled: boolean;
        description?: string;
    };
};
/**
 * Generates `llms.txt` (a compact index) and `llms-full.txt` (the whole
 * documentation concatenated) per toc, following the https://llmstxt.org spec.
 *
 * Runs in `AfterAnyRun`, so it works for both `md` and `html` builds. By that
 * point the toc is already resolved and filtered for the current build
 * (vars/conditions, `removeHiddenTocItems`/`removeEmptyTocItems`), which keeps
 * the artifacts consistent with the exact "version" produced by single-source
 * publishing — hidden pages don't leak into the index and inactive `{% if %}`
 * branches don't leak into the full text. Walking `run.toc.tocs` +
 * `walkEntries` mirrors `SinglePage`.
 *
 * `llms-full.txt` is assembled with {@link MarkdownCollector} — the same engine
 * `OutputMd` uses — so every include is merged into self-contained markdown
 * regardless of the build's output format (no md/html fork).
 *
 * Index links point to the actual output files: original href in `md`, the
 * rendered `.html` in `html`.
 */
export declare class Llms {
    apply(program: Build): void;
    private generate;
    private renderIndex;
    private renderFull;
}
