/** * Resolves the `--input` flag to an ordered list of absolute markdown file paths. * - A directory ⇒ recursively collected `*.md`/`*.markdown`, sorted (stable order). * - A comma-separated list ⇒ used in the exact order given (each must exist). * Returns an empty array when nothing matches, so the caller can warn cleanly. */ export declare function resolveMarkdownInputs(input: string, cwd: string): string[]; export declare class PuppeteerUnavailableError extends Error { constructor(); } /** * Renders a full HTML page to a PDF buffer via puppeteer (bundled Chromium). * Throws {@link PuppeteerUnavailableError} when puppeteer is not installed so the * caller can surface an actionable message instead of a generic failure. * * When `opts.deck` is set the PDF is printed with Chrome's NATIVE running header * and footer (`displayHeaderFooter` + header/footer templates) drawn in the * reserved `@page` margin band on every page — the flip-safe replacement for a * `position: fixed` header (GH-doc-deck-mode). The margin matches the reference * deck (84px top / 48px bottom, 0 sides so the mascot band spans full width). */ export declare function renderHtmlToPdf(html: string, opts?: { deck?: boolean; }): Promise; /** * Concatenates the given markdown files (in the order provided) into a single * document, separating each with a page break, then renders it to a single PDF — * with embedded ```mermaid fences rendered to SVG (via wrapMarkdownAsHtml). Each * doc's own first heading serves as its title (matching the reference * theme-slds.css pipeline); no synthetic filename heading is injected. */ export declare function consolidateMarkdownToPdf(files: string[], cwd: string, opts?: { deck?: boolean; }): Promise; /** * Consolidates markdown into a self-contained HTML document. Deck output adds * client-side navigation while keeping the underlying slide markup printable. */ export declare function consolidateMarkdownToHtml(files: string[], cwd: string, opts?: { deck?: boolean; }): Promise;