import { Platform } from '@ionic/angular'; import { FileOpener } from '@ionic-native/file-opener/ngx'; import { DynamicScriptService } from './dynamic-script.service'; import { DisplayService } from "./display.service"; import * as i0 from "@angular/core"; /** * neeed to add "cordova-plugin-file-opener2": "^3.0.5" to the project's oapackage.json also sync:ios to make effect */ export declare class PdfService { private platform; private display; private scriptService; private fileOpener; constructor(platform: Platform, display: DisplayService, scriptService: DynamicScriptService, fileOpener: FileOpener); export(fileName: string, rows: string[][], title?: string, subtitle?: string, appName?: string, document?: any): Promise; saveDocument(document: any, fileName: any, appName: any): Promise; createDocument(rows: string[][], title: string, subtitle: string, app_name: any): { pageOrientation: string; footer: { columns: { text: any; alignment: string; margin: number[]; }[]; }; content: (string | { text: string; style: string; table?: undefined; } | { table: { headerRows: number; body: string[][]; }; text?: undefined; style?: undefined; })[]; styles: { title: { bold: boolean; fontSize: number; alignment: string; }; subtitle: { fontSize: number; alignment: string; }; }; }; saveOnNative(fileName: string, data: any, appName: string): Promise; exportMultiple(toExport: { fileName: string; rows: any; title: string; subtitle: string; }[], zipName: string, appName?: string): Promise; private getBinaryArray; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }