import { EmailMetadata } from '../../models';
import { AbstractViewerComponent } from '../abstract/abstract.viewer.component';
import { EmlAttachment, ParsedEml } from './model';
import { SafeHtml } from '@angular/platform-browser';
import * as i0 from "@angular/core";
export declare class MailComponent extends AbstractViewerComponent<EmailMetadata> {
    #private;
    busyChange: import("@angular/core").OutputEmitterRef<boolean>;
    protected readonly parsedEmail: import("@angular/core").WritableSignal<ParsedEml | null>;
    protected readonly activeTab: import("@angular/core").WritableSignal<"html" | "text">;
    protected readonly fileAttachments: import("@angular/core").Signal<EmlAttachment[]>;
    protected readonly safeSrcdoc: import("@angular/core").Signal<SafeHtml | null>;
    protected readonly hasHtmlBody: import("@angular/core").Signal<boolean>;
    protected readonly hasTextBody: import("@angular/core").Signal<boolean>;
    file: import("@angular/core").WritableSignal<File | undefined>;
    fileLoading: import("@angular/core").Signal<boolean>;
    constructor();
    protected onFileSelected(event: Event): void;
    protected clear(): void;
    protected openAttachment(attachment: EmlAttachment): void;
    protected formatDate(dateStr: string): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<MailComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<MailComponent, "yuv-mail", never, {}, { "busyChange": "busyChange"; }, never, never, true, never>;
}
