UNPKG

@mdfriday/foundry

Version:

The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.

17 lines (16 loc) 595 B
import { ModuleConfig } from '../type'; export declare class Module { private moduleConfig; constructor(moduleConfig: ModuleConfig); importPaths(): string[]; getModuleConfig(): ModuleConfig; getImports(): import("../type").Import[]; getMounts(): import("../type").Mount[]; importCount(): number; mountCount(): number; hasImports(): boolean; hasMounts(): boolean; findImport(path: string): import("../type").Import | undefined; findMount(source: string): import("../type").Mount | undefined; } export declare function newModule(data: any): Module;