/**
 * Types for custom message rendering in the TUI.
 *
 * Extensions and internal features register MessageRenderer functions to control
 * how custom message types are displayed in the chat area.
 */
import type { CustomMessage } from '../../app/messages.js';
import type { Component } from '../../tui/index.js';
import type { Theme } from '../theme/runtime.js';
export interface MessageRenderOptions {
    expanded: boolean;
}
/** Render function for a custom message type — returns a TUI Component or undefined to skip. */
export type MessageRenderer<T = unknown> = (message: CustomMessage<T>, options: MessageRenderOptions, theme: Theme) => Component | undefined;
//# sourceMappingURL=custom-message-renderer.d.ts.map