legal-markdown-js
Version:
Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version
11 lines • 479 B
TypeScript
import type { ConnectorInfo, PdfConnector, PdfOptions } from './types.js';
export declare class WeasyprintConnector implements PdfConnector {
readonly name = "weasyprint";
private executablePath;
private detectExecutablePath;
isAvailable(): Promise<boolean>;
private buildPageCss;
generatePdf(html: string, outputPath: string, options: PdfOptions): Promise<void>;
getInfo(): Promise<ConnectorInfo>;
}
//# sourceMappingURL=weasyprint-connector.d.ts.map