// Mock agent for testing TypeScript import resolution export interface IAgentMessage { role: "user" | "assistant" | "system"; content: string; } export async function agent(input: IAgentMessage[]): Promise { // Simple mock agent that just echoes the input const lastMessage = input[input.length - 1]; return `Mock response to: ${lastMessage.content}`; } export const TEST_CONSTANT = "This is a test constant from TypeScript file";