/** * Single-file, dependency-free HTML rendering of the atlas. * * The WebUI's CodeMap is the interactive view, but it needs a running server, a * built index and a browser pointed at localhost. This is the other half: one * file you can attach to a pull request, publish as a CI artifact, or mail to * somebody who will never install the toolchain. * * ## Why it embeds rather than fetches * * A page that fetches `atlas.json` beside it does not work from `file://` in * any modern browser — the request is a cross-origin one to a null origin. The * data is inlined as JSON so a double-click opens a working map. * * ## Why the layout is computed here, not in the page * * A force simulation in the page would make the same input produce a slightly * different picture on every open. Positions are computed once, deterministic * given the document, so two exports of the same index are byte-identical and * a committed export diffs meaningfully. */ import type { AtlasDocument } from './atlas-types.js'; /** Packages drawn on the canvas. Beyond this the picture stops being readable. */ export declare const EXPORT_PACKAGE_LIMIT = 40; /** Files listed in the ranked table. */ export declare const EXPORT_FILE_LIMIT = 120; export interface AtlasExportOptions { /** Repository name shown in the header. */ projectName?: string | undefined; } /** * Render the atlas as one self-contained HTML document. * * Deterministic: the same {@link AtlasDocument} always produces the same bytes, * with no timestamp, no random ids and no measurement of the host. */ export declare function renderAtlasHtml(document: AtlasDocument, options?: AtlasExportOptions): string; //# sourceMappingURL=atlas-export.d.ts.map