/** * The overview data section's pure helpers: the export download's filename * and the import dialog's snapshot summary (per-table row counts read from a * parsed JSON file). The summary is a display-level shape check only — the * Host revalidates every row on import. DOM-free so both rules are * unit-testable. * @module dsh-client-ui-mimir/client/wiki-transfer */ import type { ResearchWikiTableName } from 'dsh-mimir/types'; /** The six wiki tables, in display order (kept in sync with the Host's list). */ export declare const WIKI_TABLE_LABELS: readonly ResearchWikiTableName[]; /** The export download's filename: `mimir-wiki-YYYYMMDD.json` (UTC date). */ export declare function wikiExportFilename(date: Date): string; /** One table's row in the import summary. */ export interface WikiSnapshotTableCount { readonly name: ResearchWikiTableName; readonly count: number; } /** The import dialog's summary of one parsed snapshot file. */ export interface WikiSnapshotSummary { readonly exportedAt: string; readonly tables: readonly WikiSnapshotTableCount[]; } /** * Summarize one parsed export file for the import dialog: per-table row * counts plus the export timestamp. Returns null for anything that is not a * recognizable mimir-wiki snapshot (bad format/version, missing table * arrays) so the dialog can refuse it before it reaches the Host. */ export declare function wikiSnapshotSummary(raw: unknown): WikiSnapshotSummary | null; //# sourceMappingURL=wiki-transfer.d.ts.map