## API Report File for "@eigenpal/docx-editor-agents"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

// @public (undocumented)
export interface AgentMessage {
    // (undocumented)
    id: string;
    // (undocumented)
    role: 'user' | 'assistant';
    status?: 'streaming' | 'done';
    // (undocumented)
    text: string;
    toolCalls?: AgentToolCall[];
}

// @public
export interface AgentToolCall {
    error?: string;
    id: string;
    input?: unknown;
    name: string;
    result?: string;
    status: 'running' | 'done' | 'error';
}

// @public
export interface AiSdkUIMessage {
    // (undocumented)
    id: string;
    // (undocumented)
    parts?: ReadonlyArray<{
        type: string;
        text?: string;
        toolCallId?: string;
        state?: string;
        input?: unknown;
        output?: unknown;
        errorText?: string;
    }>;
    // (undocumented)
    role: 'user' | 'assistant' | 'system';
}

// @public
export function toAgentMessages(uiMessages: ReadonlyArray<AiSdkUIMessage>, status: string): AgentMessage[];

```
