import { ThumbnailSourceType } from '../PhotoWorker'; import { FaceRegion } from '../../../../common/entities/PhotoDTO'; import { PersonEntry } from '../../database/enitites/person/PersonEntry'; import { SVGIconConfig } from '../../../../common/config/public/ClientConfig'; export declare class PhotoProcessing { private static initDone; private static taskQue; private static readonly CONVERTED_EXTENSION; static init(): void; static generatePersonThumbnail(person: PersonEntry): Promise; static generateConvertedPath(mediaPath: string, size: number): string; static generatePersonThumbnailPath(mediaPath: string, faceRegion: FaceRegion, size: number): string; /** * Tells if the path is valid with the current config * @param convertedPath */ static isValidConvertedPath(convertedPath: string): Promise; static convertedPhotoExist(mediaPath: string, size: number): Promise; static generateThumbnail(mediaPath: string, size: number, sourceType: ThumbnailSourceType, makeSquare: boolean): Promise; static isPhoto(fullPath: string): boolean; static renderSVG(svgIcon: SVGIconConfig, outPath: string, color?: string): Promise; }