export interface BundleDocsOptions { /** Docs site build output (e.g. `doc_build`). */ source: string; /** Directory to write the bundle to. */ target: string; /** Index file to ship alongside the pages. */ indexFile?: string; /** Top-level directories to skip. */ excludedDirs?: string[]; } /** @returns files copied, or 0 when the source is absent */ export declare function bundleDocs({ source, target, indexFile, excludedDirs, }: BundleDocsOptions): number; /** * `modern-bundle-docs --source --target /docs`; both default * to this repo's layout. * * @param pkgRoot supplied by the bin shim — the compiled module cannot know * its own package root portably across output formats. */ export declare function runBundleDocsCli(pkgRoot: string): void;