/**
 * Utility for extracting incomplete message state from historical messages
 * Used to continue building messages across realtime connections
 */
import type { ProcessedMessage, MessageSegment, PendingApproval, ExecutingToolState } from '../types';
/**
 * Extract incomplete message state from the last historical assistant message
 * Used to initialize realtime chunk processor when continuing an incomplete message
 */
export declare function extractIncompleteMessageState(lastMessage: ProcessedMessage | undefined): {
    existingSegments?: MessageSegment[];
    pendingApprovals?: Map<string, PendingApproval>;
    executingTools?: Map<string, ExecutingToolState>;
} | undefined;
//# sourceMappingURL=extract-incomplete-message-state.d.ts.map