import { type TrainingItem } from "../items.js"; import { type Corpus } from "../corpus.js"; /** One normalized Aya row. */ export interface AyaRow { inputs: string; targets: string; language: string; } /** Normalize a raw datasets-server row object into an AyaRow, or null when it * lacks a usable prompt/answer or a field is implausibly large (a dump, not a * cognitive example). Trims surrounding whitespace; keeps inner text verbatim * (human prose, possibly multi-paragraph). */ export declare function toAyaRow(row: unknown, maxChars?: number): AyaRow | null; /** Translate ONE Aya row into SEMA training items. A row is a single human * (question → answer) exchange — exactly one FACT, the (inputs → targets) edge. * No standalone-answer experience and no one-exchange "cumulative" walk: a lone * Q→A is not multi-turn, and both would only replicate the same edge. */ export declare function ayaRowToItems(row: AyaRow): TrainingItem[]; export declare const aya: Corpus;