-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
20 lines (20 loc) · 979 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/// <reference types="node" />
import { HandlebarsTemplate, Options } from "./extension/model";
import { Transform } from "stream";
export declare class DevMindGulpBuilder {
constructor(givenOptions?: Options);
private readonly options;
applyTemplate(handlebarsTemplateFile: string, partials: Array<HandlebarsTemplate>): Transform;
convertToHtml(): Transform;
convertToJson(filename: string): Transform;
convertToRss(filename: string): Transform;
convertToSitemap(): Transform;
convertToBlogList(handlebarsTemplateFile: string, partials: Array<HandlebarsTemplate>, filename: string, nbArticleMax: number): Transform;
convertToBlogPage(handlebarsTemplateFile: string, partials: Array<HandlebarsTemplate>, blogIndexFile: string): Transform;
fileExist(filePath: string): boolean;
filesExist(): Transform;
highlightCode(selector: any): Transform;
readAsciidoc(): Transform;
readHtml(): Transform;
readIndex(): Transform;
}