namespace IWS5.Importer.Abstractions.FileSystem;

public interface IFileConverterService
{
    /// <summary>
    /// Attempts to convert a supported file to PDF.
    /// Returns true if conversion was successful, false otherwise.
    /// </summary>
    Task<bool> TryConvertToPdfAsync(string inputPath, string outputPath, int processId, CancellationToken cancellationToken);

    /// <summary>
    /// Checks whether the given extension should be converted to PDF.
    /// Respects SupportedExtension and DoNotConvert rules.
    /// </summary>
    Task<bool> ShouldConvertAsync(string extension, int processId);
}
