import { type Page } from '@variance-authority/package/help'; /** * The same answers, as files, for the readers that cannot call a tool. * * An agent with this server connected should never read these. A chat window * with a URL box, a crawler, and a person are the audience, and `llms.txt` is * the convention all three already look for — so meeting it costs a naming rule * and buys the case where nothing is installed. * * The title and the summary come from the workspace's own root manifest. Asking * for them as arguments would mean a repository could publish an index that * calls itself something other than what it is, and there is no version of that * which is anybody's intent. */ export interface Written { readonly at: string; readonly bytes: number; } export interface PagesOptions { /** Put in front of every path, for a page that will be read away from the checkout. */ readonly base?: string; /** Overrides what the root manifest says this workspace is called. */ readonly page?: Page; } /** * Write the four files, and say what was written. * * `help.json` is the reading itself. It is here because everything above it is a * rendering decision somebody will eventually disagree with, and disagreeing * should cost a `JSON.parse` rather than a fork. */ export declare function writePages(root: string, out: string, options?: PagesOptions): readonly Written[]; //# sourceMappingURL=write.d.ts.map