@eternalheart/ngx-file-preview
Version:
A powerful Angular file preview component library supporting multiple file formats including images, videos, PDFs, Office documents, text files and more.
11 lines (10 loc) • 612 B
TypeScript
import { BasePreviewComponent } from "../base-preview/base-preview.component";
import { FileReaderResponse } from "../../services";
import * as i0 from "@angular/core";
export declare class ArchivePreviewComponent extends BasePreviewComponent {
getArchiveType(): string;
protected handleFileContent(content: FileReaderResponse): Promise<void>;
formatFileSize(bytes?: number): string;
static ɵfac: i0.ɵɵFactoryDeclaration<ArchivePreviewComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ArchivePreviewComponent, "ngx-archive-preview", never, {}, {}, never, never, true, never>;
}