///
import { Config, HtmlConfig, PdfConfig } from "./config";
export type Output = PdfOutput | HtmlOutput;
export interface PdfOutput extends BasicOutput {
content: Buffer;
}
export interface HtmlOutput extends BasicOutput {
content: string;
}
interface BasicOutput {
filename: string | undefined;
}
/**
* Generate the output (either PDF or HTML).
*/
export declare function generateOutput(html: string, relativePath: string, config: PdfConfig): Promise;
export declare function generateOutput(html: string, relativePath: string, config: HtmlConfig): Promise;
export declare function generateOutput(html: string, relativePath: string, config: Config): Promise