import type { ImageAttachment, LLMClient } from '../../types/core.js';
import type { Message, MessageSubmissionOptions } from '../../types/index.js';
export { parseContextLimit } from './handlers/context-max-handler.js';
/**
 * Parses command arguments while preserving quoted multi-word values.
 */
export declare function parseCustomCommandArgs(input: string): string[];
/**
 * 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, displayValue?: string, images?: ImageAttachment[]): Promise<void>;
export declare function createClearMessagesHandler(setMessages: (messages: Message[]) => void, client: LLMClient | null): () => Promise<void>;
//# sourceMappingURL=app-util.d.ts.map