// Types for ./panels.mjs (release 28, M4/M5): the flips' and the threads' // limits and validators. See the module's header. export type FlipSide = { entry: string; when: string; words: string }; export type FlipPair = { id: string; topic: string; then: FlipSide; now: FlipSide }; export type Flips = { pairs: FlipPair[] }; export type ThreadOutcome = { verdict: string; label?: string }; export type Thread = { id: string; label: string; outcome?: ThreadOutcome }; export type Threads = { list: Thread[] }; export const FLIPS_LIMITS: Readonly<{ pairs: readonly [number, number]; topic: number; when: number; words: number }>; export const THREADS_LIMITS: Readonly<{ threads: readonly [number, number]; label: number; outcome: number }>; export function flipsOn(render: unknown): boolean; export function validateFlips(f: unknown, where?: string): string[]; export function validateFlipEntries(manifest: unknown): string[]; export function threadsOn(render: unknown): boolean; export function validateThreads(t: unknown, where?: string): string[]; export function threadOf(entry: unknown): string | null; export function validateThreadEntries(manifest: unknown): string[];