import { HttpClient } from '@angular/common/http';
import { Injector } from '@angular/core';
import { ModuleConfig } from '../configs/module-config';
import { ExportItem } from '../models/export-item';
import { ResponseResult } from '../models/response-result';
import { BaseService } from './base.service';
import { CommonService } from './common.service';
import { CrudService } from './crud.service';
import { FileV4Service } from './file-object-v4.service';
import { ModuleConfigService } from './module-config.service';
import { NotifierService } from './notifier.service';
import { PrintService } from './print.service';
export declare class TemplateV4Service extends BaseService {
    private _httpClient;
    private _printService;
    protected _fileV4Service: FileV4Service;
    protected _notifierService: NotifierService;
    protected _crudService: CrudService;
    protected _commonService: CommonService;
    private injector;
    readonly environment: any;
    readonly _moduleConfig: ModuleConfig;
    constructor(_moduleConfigService: ModuleConfigService, _httpClient: HttpClient, _printService: PrintService, _fileV4Service: FileV4Service, _notifierService: NotifierService, _crudService: CrudService, _commonService: CommonService, injector: Injector);
    laTexToBase64Image(laTex: string, font?: number): Promise<ResponseResult>;
    fillWordByTemplateCode(templateCode: string, data: any[], fileName?: string): Promise<any>;
    fillTemplateByCodeAndGetPdf(templateCode: string, data: any, onLoadingDataPdf?: any, onEndLoadingDataPdf?: any): Promise<void>;
    fillWordByTemplateCodeMultiData(templateCode: string, data: any[], onLoadingDataPdf?: any, onEndLoadingDataPdf?: any): Promise<void>;
    convertWordToFormartByCode(templateCode: string, format: string, data: any): Promise<ResponseResult>;
    _export(model: ExportItem): Promise<ResponseResult>;
    /**
     * Export a tree of folders, files using background job.
     * @param model
     */
    export(model: ExportItem): Promise<void>;
    _exportNormal(model: ExportItem): Promise<ResponseResult>;
    /**
     * Export a tree of folders, files directly.
     * @param data
     */
    exportNormal(data: ExportItem): Promise<ResponseResult>;
}
//# sourceMappingURL=template-v4.service.d.ts.map