using System.Collections.Generic;
using System.Threading.Tasks;
using API.DTOs;
namespace API.Interfaces
{
    public interface IDirectoryService
    {
        /// 
        /// Lists out top-level folders for a given directory. Filters out System and Hidden folders.
        /// 
        /// Absolute path of directory to scan.
        /// List of folder names
        IEnumerable ListDirectory(string rootPath);
        Task ReadImageAsync(string imagePath);
        /// 
        /// Gets files in a directory. If searchPatternExpression is passed, will match the regex against for filtering.
        /// 
        /// 
        /// 
        /// 
        string[] GetFiles(string path, string searchPatternExpression = "");
    }
}