import type { ILogger } from '../interfaces/logger.interface.js'; /** * Loads an `ApiDocument` from a local module and writes (or refreshes) its * documentation bundle. * * **Through the document's own `translationStore` by default**, because that * is the one place anything reads these texts back from. A path named here * instead is a guess about how a document stores its translations, and a * wrong guess is silent: the file appears, the texts look extracted, and the * page keeps rendering whatever the source declared. * * @param moduleRef - Module path, optionally with the export to use after a * `#` (see `loadDocument`). * @param outFile - Dump the bundle to this file instead of writing it * through the store. For looking at what a document declares, or for a * project that keeps its bundles somewhere this command is not meant to * touch — not the normal path. */ export declare function extractDocumentTranslations(moduleRef: string, outFile?: string, logger?: ILogger): Promise;