import { DocumentType } from './types'; import * as i0 from "@angular/core"; export declare class ImgPdfViewerService { constructor(); /** * Download a blob URL */ downloadBlob(blob: string, fileName: string): void; /** * Download a resource from URL */ downloadResource(url: string, fileName?: string): Promise; /** * Get file name from URL */ getFileName(url: string): string; /** * Check file type from URL or filename */ fileTypeChecker(file: string): DocumentType; /** * Open blob in new window */ openBlobInNewWindow(url: string): void; /** * Validate URL */ isValidUrl(url: string): boolean; /** * Detect document type */ detectDocumentType(url: string): DocumentType; /** * Get file size from URL (if accessible) */ getFileSize(url: string): Promise; /** * Get MIME type from URL */ getMimeType(url: string): Promise; /** * Check if URL is accessible */ isUrlAccessible(url: string): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }