#!/usr/bin/env node import { HtmlConfig, PdfConfig } from "./lib/config"; import { HtmlOutput, PdfOutput } from "./lib/generate-output"; interface ContentInput { content: string; } interface PathInput { path: string; } interface HtmlInput { html: string; } /** * Convert a markdown file to PDF. */ export declare function mdToPdf(input: ContentInput | PathInput | HtmlInput, config?: Partial): Promise; export declare function mdToPdf(input: ContentInput | PathInput | HtmlInput, config?: Partial): Promise; /** * Convert a markdown file to PDF. */ export declare function mdsToPdfs(params: { input: ContentInput | PathInput | HtmlInput; config?: Partial; }[], options: { port?: number; basedir?: string; }): Promise; export declare function mdsToPdfs(params: { input: ContentInput | PathInput | HtmlInput; config?: Partial; }[], options: { port?: number; basedir?: string; }): Promise; export default mdToPdf; export interface PackageJson { engines: { node: string; }; version: string; }