using System.Threading.Tasks;

namespace MarkdownEditor.Services;

/// <summary>
/// Service interface for exporting markdown content to PDF.
/// </summary>
public interface IPdfExportService
{
    /// <summary>
    /// Exports markdown content to a PDF file.
    /// </summary>
    /// <param name="markdownContent">The markdown content to export.</param>
    /// <param name="filePath">The file path where the PDF should be saved.</param>
    /// <param name="title">Optional document title.</param>
    Task ExportToPdfAsync(string markdownContent, string filePath, string? title = null);
}
