-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathindex.d.ts
More file actions
30 lines (27 loc) · 880 Bytes
/
index.d.ts
File metadata and controls
30 lines (27 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* 渲染excel模板
* @param exlBuf 模板excel的Buff
* @param _data_ 数据
*/
export declare function renderExcel(exlBuf: Buffer, _data_: any): Promise<Buffer>;
/**
* 渲染excel模板
* @param exlBuf 模板excel的Buff
* @param _data_ 数据
* @param cb 渲染成功后回调
*/
export declare function renderExcelCb(exlBuf: Buffer, _data_: any, cb: Function): void;
/**
* 渲染excel模板
* @param exlBuf 模板excel的Buff
* @param _data_ 数据
* @param opt 选项, cachePath 编译缓存路径
*/
export declare function renderExcel(exlBuf: Buffer, _data_: any, opt: { cachePath?: string }): Promise<Buffer>;
/**
* 渲染excel模板
* @param exlBuf 模板excel的Buff
* @param _data_ 数据
* @param cb 渲染成功后回调
*/
export declare function renderExcelCb(exlBuf: Buffer, _data_: any, opt: { cachePath?: string }, cb: Function): void;