import { HtmlToPdf, WebToPdf } from "./operations"; import Result from "./result"; declare class PDF4dev { private apiKey; /** * Create a PDF4dev instance. * @param apiKey API Key. Visit the dashboard to get a new one. You can also use the PDF4DEV_API_KEY environment variable. * @returns Operation result */ constructor(apiKey?: String); /** * Execute operation */ private makeRequest; /** * Convert HTML code to a PDF file * @param html HTML Code to convert * @param options Operation options * @returns Operation result */ htmlToPdf(html: String, options?: HtmlToPdf): Promise; /** * Convert HTML code to a PDF file * @param html HTML Code to convert * @param options Operation options * @returns Operation result */ webToPdf(url: String, options?: WebToPdf): Promise; } export default PDF4dev;