import { MediaDTO } from '../../../../common/entities/MediaDTO'; export declare class MediaIcon { media: MediaDTO; protected static readonly ThumbnailMap: { [key: number]: number; }; static readonly sortedThumbnailSizes: number[]; protected replacementSizeCache: number | boolean; constructor(media: MediaDTO); getExtension(): string; iconLoaded(): void; isIconAvailable(): boolean; isPhotoAvailable(renderWidth: number, renderHeight: number): boolean; getReadableRelativePath(): string; getRelativePath(): string; getIconPath(): string; getOriginalMediaPath(): string; getMediaSize(renderWidth: number, renderHeight: number): number; /** * @param renderWidth bonding box width * @param renderHeight bounding box height */ getBestSizedMediaPath(renderWidth: number, renderHeight: number): string; /** * Uses the converted video if the original is not available */ getBestFitVideoPath(): string; equals(other: MediaDTO | MediaIcon): boolean; }