picgo 1.6.6 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +0,0 @@
1
- import { IPicGo, IOptions } from '../types';
2
- /**
3
- * Generate template files to destination files.
4
- * @param {PicGo} ctx
5
- * @param {IOptions} options
6
- */
7
- declare const generate: (ctx: IPicGo, options: IOptions) => Promise<any>;
8
- /**
9
- * Return the filters' result
10
- * @param ctx PicGo
11
- * @param exp condition expression
12
- * @param data options data
13
- */
14
- declare const filters: (ctx: IPicGo, exp: any, data: any) => boolean;
15
- /**
16
- * Render files to a virtual tree object
17
- * @param {array} files
18
- */
19
- declare const render: (files: string[], source: string, options: any) => any;
20
- /**
21
- * Write rendered files' content to real file
22
- * @param {string} dir
23
- * @param {object} files
24
- */
25
- declare const writeFileTree: (dir: string, files: any) => void;
26
- export { filters, generate, render, writeFileTree };