import { type PrinterOptions } from '../html-export-pdf/index.js';
import type { LaunchOptions, Page, PDFOptions } from './types.js';
import { type PDFOutline } from './utils/index.js';
export interface GeneratePdfOptions {
    pages: Page[];
    tempDir: string;
    port: number;
    host: string;
    outFile: string;
    outDir: string;
    cleanupTempDir?: boolean;
    allOutlines?: PDFOutline[];
    launchOptions?: LaunchOptions;
    pdfOptions?: PDFOptions;
    pdfOutlines?: boolean;
    urlOrigin?: string;
    printerOptions?: PrinterOptions;
}
/**
 * Generate PDF from VuePress or VitePress dev server.
 */
export declare function generatePdf({ pages, tempDir, port, host, outFile, outDir, cleanupTempDir, allOutlines, urlOrigin, pdfOptions, pdfOutlines, launchOptions, printerOptions, }: GeneratePdfOptions): Promise<{
    exportedPath: string;
    allOutlines: PDFOutline[];
}>;
