UNPKG

@mdfriday/foundry

Version:

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

19 lines (18 loc) 623 B
import { RootConfig } from '../type'; export declare class Root { private rootConfig; private rootParams; constructor(rootConfig: RootConfig, rootParams?: Record<string, any>); defaultTheme(): string; compiledTimeout(): number; baseUrl(): string; configParams(): Record<string, any>; siteTitle(): string; getRootConfig(): RootConfig; getThemes(): string[]; getDefaultContentLanguage(): string; shouldBuildDrafts(): boolean; shouldBuildFuture(): boolean; shouldBuildExpired(): boolean; } export declare function newRoot(data: any, params?: Record<string, any>): Root;