/** Path relative to the repository root, without a leading `./` or `/`. */ export declare const repositoryPath: (path: string) => string; /** Base URL of the documentation site (`homepage` in package.json, which ends with a slash). */ export declare const DOCS_URL: string; /** Page listing every setting. */ export declare const SETTINGS_DOC_URL: string; /** Documentation page of a setting, by its key under `settings`. */ export declare function settingDocUrl(key: string): string; /** Section of the Hall of Fame page describing a removed setting. */ export declare function hallOfFameUrl(anchor: string): string; /** URL of a file of the repository on the main branch, from its path relative to the repository root. */ export declare function rawFileUrl(path: string): string; /** URL of a folder of the repository on GitHub, on the main branch, from its path relative to the repository root. */ export declare function sourceTreeUrl(path: string): string; /** * Replaces the relative targets of the Markdown images (`![alt](docs/assets/x.png)`) with `map(target)`. * Absolute URLs, `data:` URIs, anchors and absolute paths are kept. */ export declare function rewriteMarkdownImages(markdown: string, map: (target: string) => string): string; /** Relative paths of the images of a Markdown text (relative to the repository root). */ export declare function listMarkdownImages(markdown: string): string[]; /** * Copy of a JSON Schema where the images of every description point to their raw URL on GitHub, * so they display outside of the documentation site (IDE, sfdx-hardis). */ export declare function withRawImageUrls(schema: T): T;