import type { LLMClient } from '../../types/core.js';
import type { Message, MessageSubmissionOptions } from '../../types/index.js';
/**
 * Main entry point for handling user message submission.
 * Routes messages to appropriate handlers based on their type.
 */
export declare function handleMessageSubmission(message: string, options: MessageSubmissionOptions): Promise<void>;
export declare function createClearMessagesHandler(setMessages: (messages: Message[]) => void, client: LLMClient | null): () => Promise<void>;
//# sourceMappingURL=app-util.d.ts.map