// Copyright © 2022-2026 Partium, Inc. DBA Partium import { BaseService } from './base.service'; import { PFileType, PFile } from '../models/p-file'; /** * Class that defines the structure for the FileService implementation. * * It contains functions for extract information about the assets. */ export declare class FileService extends BaseService { /** * Get file type of a file. * * @param pFile The file to get the type from. * @returns Promise The type */ getFileType(pFile: PFile): Promise; /** * Get dimensions of an image file. * * @param pFile The image file. * @returns Promise<[number, number]> where first element is width and second one is height. */ getImageDimensions(pFile: PFile): Promise<[number, number]>; }