import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
import { IconCacheService } from '../../service/icon-cache.service';
import { DomSanitizer } from '@angular/platform-browser';
import SignaturePad from 'signature_pad';
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
import { Icon } from '../../enum/icon.enum';
export declare class CustomPdfDialogComponent implements OnInit, AfterViewInit {
    iconCacheService: IconCacheService;
    private _sanitizer;
    readonly icons: typeof Icon;
    showClass(): boolean;
    pdfBody: ElementRef;
    additionalFileContents: any;
    additionalFileName: string;
    closePDFDialog: EventEmitter<any>;
    additionalFileChangeEvent: EventEmitter<CoDocument>;
    canvas: HTMLCanvasElement;
    context: CanvasRenderingContext2D;
    signaturePads: {
        [key: string]: SignaturePad;
    };
    signatureCanvases: {
        [key: string]: ElementRef;
    };
    fileBody: any;
    fileStyle: string;
    showLoader: boolean;
    private enableLocalPreview;
    constructor(iconCacheService: IconCacheService, _sanitizer: DomSanitizer);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    private _processAdditionalFileContents;
    extractStyleParts(html: string): string[];
    removeStyleAndScriptTags(html: string): string;
    extractBodyContents(html: string): string[];
    private _isLocalhost;
    handleSaveClicked(): Promise<void>;
    dataURItoBlob(dataURI: any): File;
    handleClear(): void;
    private _resizeSignatureCanvas;
}
