import { Path } from "./path/path.contract"; import { Fs } from "./fs/fs.contract"; export interface IHtmlEleMatch { match: string | RegExp; path: string | ((pathname: string) => string); } export interface IBundleOptions { path: string; outPath?: string; checkUnchange?: (match: string | RegExp, value: string) => boolean; shouldBundle?: (promises: Promise[]) => boolean; scripts?: IHtmlEleMatch[]; styles?: IHtmlEleMatch[]; } export declare class HtmlBundle { protected path: Path; protected fs: Fs; constructor(path: Path, fs: Fs); build(options: IBundleOptions): Promise; }