namespace EbbesMemeClipboard.Models;
///
/// An importable image found on the clipboard. Either real files (copied in Explorer) or raw
/// bytes (a screenshot, or an image copied out of a browser) - never both.
///
public sealed class ClipboardImportPayload
{
/// Set when the clipboard held actual files; import these directly.
public IReadOnlyList? FilePaths { get; init; }
/// Set when the clipboard held image data rather than files.
public byte[]? Data { get; init; }
/// Extension matching , including the dot (e.g. ".png").
public string? Extension { get; init; }
public bool HasFiles => FilePaths is { Count: > 0 };
public bool HasBytes => Data is { Length: > 0 } && Extension is not null;
}