import { type SpeakerTurn, type TrainingItem } from "../items.js"; import { type Corpus } from "../corpus.js"; /** One utterance of a Taskmaster conversation — the shared dialogue-turn shape, * under the name this corpus's adapters have always used. */ export type TaskmasterTurn = SpeakerTurn; /** Normalize ONE element of a Taskmaster data file into its turns, or null when * it carries no usable utterance. Empty/whitespace-only utterances are dropped * (TM-3 has a few); a single implausibly long utterance rejects the whole * conversation as corrupt rather than depositing a dump. */ export declare function toTaskmasterTurns(row: unknown, maxChars?: number): TaskmasterTurn[] | null; /** Translate ONE Taskmaster conversation into SEMA training items: the * cumulative walk over its merged turns. Returns [] for a conversation below * TASKMASTER_MIN_TURNS, so callers can simply skip empties. */ export declare function taskmasterConversationToItems(turns: TaskmasterTurn[], minTurns?: number): TrainingItem[]; export declare const taskmaster: Corpus;