import { IFileDirStat } from 'recursive-readdir-files'; import { MenuData, Config, SiteGlobalConfig } from '../utils/conf.js'; import { Chapter } from '../utils/chapters.js'; export declare function formatHTML(html?: string): Promise; export interface PageConfig extends Omit { layout?: string; prevPage?: Chapter; nextPage?: Chapter; fileStat?: Partial & { atimeStr?: string; mtimeStr?: string; ctimeStr?: string; }; } export interface TemplateData extends Omit { RELATIVE_PATH?: string; markdown?: string; html?: string; menus?: MenuData[]; chapters?: Array; tocsTree?: Array; } export interface TocTree extends Toc { children?: Array; } export declare type Toc = { number?: number; label?: string; href?: string; class?: string; }; export declare function createHTML(mdStr: string, fromPath: string, toPath: string): Promise;