/** * A page of the code map, said from the page the addon read. * * Apart from the tool for the reason `orient-format.ts` is: the wording is a * pure function of the page, and a test holding it should not need a * repository and an index to get one. Every count and every share's parts are * the addon's; this divides them into percents and chooses the words. * * One line heads the page — what it covers, the dependency layers it spans and * how many areas it splits into — and one line follows per area: its size, the * layers its packages sit in, the packages most of what comes into it lands on, * and the areas most of what it imports lands in. The packages no area took * are listed after the rows; an area with no areas inside it lists them all. */ import type { CodeMapAnswer, CodeMapPage } from '@variance-authority/sense'; /** A count of files, short: `569`, `1.6k`, `27k`. */ export declare function thousands(count: number): string; /** A package's name without its scope, which a page of one repository's packages repeats on every row. */ export declare function unscoped(name: string): string; /** What a reading of a map folded from an earlier source index ends with. */ export declare const STALE_MAP = "This map was folded from an earlier source index; `variance index` folds it again."; /** Why there is no code map to read: none is kept beside the source index at `index`. */ export declare function noCodeMap(index: string): string; /** Why there is no code map to read: the source index at `index` was folded into none. */ export declare function unfoldedCodeMap(index: string, unmade: string | undefined): string; /** The page as `variance ask orient` prints it; `repository` names the top page. */ export declare function formatCodeMapPage(answer: Pick & { readonly layers: number; readonly page: CodeMapPage; }, repository: string): string; //# sourceMappingURL=code-map-format.d.ts.map