export type PersonaLevel = "low" | "medium" | "high"; export interface ResolvedPersona { id: string; name: string; summary?: string; traits: { patience: PersonaLevel; skill: PersonaLevel; accessibilityNeeds?: string; }; constraints: string[]; } export interface PersonaDirectives { frictionTolerance: string; skillBias: string; accessibilityBehavior?: string; constraints: string[]; traitsApplied: string[]; } /** * Parse a YAML-parsed persona object into a normalized ResolvedPersona. `fallback` * supplies id/name when the document omits them (or is not a record at all). */ export declare function parseResolvedPersona(raw: unknown, fallback: { id: string; name: string; }): ResolvedPersona; export declare function personaToDirectives(persona: ResolvedPersona): PersonaDirectives; /** * Render the persona section injected into an actor prompt. Replaces the bare * `Persona: .` line so the persona's friction tolerance, skill, and * accessibility behavior actually shape the run. Returns a single space-joined * string to match the existing prompt-builder style. */ export declare function renderPersonaPromptSection(persona: ResolvedPersona): string;