import type { ModelSelection } from '@deepseek-ai/dsh-agent'; import type { Context } from '@deepseek-ai/cordis'; import type { Companion } from '../../domain.js'; export declare const intents: readonly ["address", "engage", "other", "close", "background"]; export declare const scenes: readonly ["address", "question", "banter", "share", "topic", "close", "other", "background"]; type Intent = typeof intents[number]; type Scene = typeof scenes[number]; export type TrainingRow = { text: string; label: string; persona?: true; personaScene?: true; }; export type GroupTraining = { train: { intent: TrainingRow[]; scene: TrainingRow[]; }; holdout: { intent: TrainingRow[]; scene: TrainingRow[]; }; relationshipAliases?: string[]; }; export type AttentionAliases = { role: readonly string[]; relationship: readonly string[]; }; export type HistoryCues = AttentionAliases & { roleScenes?: readonly string[]; relationshipScenes?: readonly string[]; }; type Recipient = 'partner' | 'member' | 'unknown'; export interface SampleMessage { id: string; sender: string; text: string; at: number; recipient: Recipient; room?: string; partner?: true; replyTo?: string; } export interface LabelSample { id: number; text: string; at: number; intent: Intent | null; scene: Scene | null; alias?: string; relationshipAlias?: boolean; bound?: true; personaScene?: true; } export declare function cleanAlias(value: unknown): string | undefined; type Candidate = { id: number; text: string; at: number; recipient: Recipient; bound: boolean; room?: string; context: { speaker: number; text: string; }[]; }; export declare function cleanSampleText(text: string): string; export declare function chooseCandidates(input: readonly SampleMessage[], from: number, boundIds?: readonly string[], companion?: Companion, aliases?: AttentionAliases, limit?: number): Candidate[]; export declare function editedLabels(current: readonly LabelSample[], edits: unknown): LabelSample[]; export declare function splitSamples(rows: readonly LabelSample[], aliases?: AttentionAliases): GroupTraining; export declare function labelSamples(ctx: Context, companion: Companion, candidates: readonly Candidate[], signal: AbortSignal, guard: () => void, models?: ReadonlyMap, cues?: HistoryCues): Promise; export {}; //# sourceMappingURL=attention-samples.d.ts.map