/** * @module profile-resolver * @description SEI-04 — Resolves developer profile attributes from session * context hints such as message length, technical terms, and interaction patterns. * * Provides a lightweight profile match that helps agents adapt their * communication style and level of detail. */ /** Communication style preference */ export type CommunicationStyle = "concise" | "detailed" | "mixed"; /** Decision-making speed */ export type DecisionSpeed = "fast" | "deliberate"; /** Assessed expertise level */ export type Expertise = "junior" | "mid" | "senior"; /** Result of profile resolution */ export interface ProfileMatch { /** How verbose or terse the developer prefers communication */ communicationStyle: CommunicationStyle; /** How quickly the developer makes decisions */ decisionSpeed: DecisionSpeed; /** Assessed technical expertise level */ expertise: Expertise; /** Confidence in the profile match, 0–1 */ matchConfidence: number; } /** * Resolves a developer profile from session context hints. * * Context can include any of the following optional fields: * - `messageLength`: Length of the current message in characters * - `technicalTerms`: Array of technical terms detected in the message * - `averageResponseTime`: Average response time in seconds * - `totalInteractions`: Total number of interactions in the session * * @param context - Optional session context with profiling hints * @returns ProfileMatch with communication style, decision speed, expertise, and confidence * * @example * ```typescript * const profile = resolveProfile({ * messageLength: 500, * technicalTerms: ["api", "sdk", "tdd", "cqrs"] * }) * // { communicationStyle: "detailed", decisionSpeed: "fast", * // expertise: "mid", matchConfidence: 0.6 } * ``` */ export declare function resolveProfile(context?: Record): ProfileMatch; //# sourceMappingURL=profile-resolver.d.ts.map