/**
 * Message management service
 * Handles message creation and formatting
 */
import type { Message } from '../state/types.js';
/**
 * Service for managing messages
 */
export declare class MessageService {
    /**
     * Creates a user message
     */
    createUserMessage(content: string): Message;
    /**
     * Creates a system message
     */
    createSystemMessage(content: string): Message;
    /**
     * Creates an error message
     */
    createErrorMessage(error: Error | string): Message;
    /**
     * Creates a tool call message
     */
    createToolMessage(toolName: string): Message;
    /**
     * Creates a streaming placeholder message
     */
    createStreamingMessage(): Message;
    /**
     * Gets visible messages (for performance - limit to recent messages)
     */
    getVisibleMessages(messages: Message[], limit?: number): Message[];
}
//# sourceMappingURL=MessageService.d.ts.map