namespace AIStudio.Tools.ChatArchive;
///
/// The outcome of a chat archive export.
///
/// Whether the archive was written completely.
/// The path of the written archive.
/// The number of exported workspaces.
/// The number of exported chats.
/// The number of app-owned files, such as transcripts, which were included in the archive.
/// The number of selected chats which could not be read and are missing from the archive.
/// The reason why the export failed, if it did.
/// Whether the user stopped the export. No archive is left behind then.
public sealed record ChatArchiveExportResult(
bool Success,
string ArchivePath,
int ExportedWorkspaces,
int ExportedChats,
int IncludedFiles,
int UnreadableChats,
string Issue,
bool Cancelled);