import { MarkedOptions } from 'marked';
import { LaunchOptions, PDFOptions } from 'puppeteer';
export declare const defaultConfig: Config;
/**
 * In config keys, dashes of cli flag names are replaced with underscores.
 */
export interface Config {
    watermark?: string;
    page_export_template: string;
    mode?: string;
    /**
     * Base directory to be served by the file server.
     */
    basedir: string;
    /**
     * Optional destination path for the output file (including the extension).
     */
    dest?: string;
    /**
     * List of css files to use for styling.
     */
    stylesheet: string[];
    /**
     * Custom css styles.
     */
    css: string;
    /**
     * List of classes for the body tag.
     */
    body_class: string[];
    /**
     * Highlight.js stylesheet to use (without the .css extension).
     *
     * @see https://github.com/isagalaev/highlight.js/tree/master/src/styles
     */
    highlight_style: string;
    /**
     * Options for the Marked parser.
     *
     * @see https://marked.js.org/#/USING_ADVANCED.md
     */
    marked_options: MarkedOptions;
    /**
     * PDF options for Puppeteer.
     *
     * @see https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagepdfoptions
     */
    pdf_options: PDFOptions;
    /**
     * Launch options for Puppeteer.
     *
     * @see https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions
     */
    launch_options: LaunchOptions;
    /**
     * Markdown file encoding. Default: `utf-8`.
     */
    md_file_encoding: string;
    /**
     * CSS stylesheet encoding. Default: `utf-8`.
     */
    stylesheet_encoding: string;
    /**
     * If true, generate HTML output instead of PDF output. Default: `false`.
     */
    as_html: boolean;
    /**
     * If true, open chromium with devtools instead of saving the pdf. This is
     * meant for development only, to inspect the rendered HTML.
     */
    devtools: boolean;
    /**
     * Port to run the local server on. 本地服务端口
     */
    port?: number;
}
export interface IConfig extends Config {
}
