import type React from 'react';
/**
 * Displays an error in the chat queue with special handling for cancellation errors.
 *
 * @param error - The error to display
 * @param keyPrefix - Prefix for the React component key
 * @param addToChatQueue - Callback to add error message to chat
 */
export declare const displayError: (error: unknown, keyPrefix: string, addToChatQueue: (component: React.ReactNode) => void) => void;
//# sourceMappingURL=message-helpers.d.ts.map