import {z} from 'zod' export type BatchExtractionMode = 'per_message' | 'whole_conversation'; export type InferMode = 'full' | 'triples' | 'preview' | 'none'; export type Label = string; export type TurnRole = 'user' | 'assistant' | 'system' | 'tool'; export type BatchMessage = {addressees?: Array | undefined, content: string, role: TurnRole, ts?: (string | null) | undefined}; export type ScopeSets = Array>; export type FactsBatchRequest = {extract?: BatchExtractionMode | undefined, infer?: InferMode | undefined, labels?: Array