import { ToolPart } from '../agent-types';
import { Item, TimelineDoc } from '../components/timeline';
export type ToolRenderResult = Item;
export type ToolRenderOptions = {
    labeledBlocks?: boolean;
};
export type ToolRenderer = (invocation: ToolPart, options?: ToolRenderOptions) => ToolRenderResult | null;
export type ToolRenderersMap = Record<string, ToolRenderer>;
export type ToolTimelineBuilderOptions = {
    labeledBlocks?: boolean;
    toolRenderers?: ToolRenderersMap;
};
export type ToolTimelineBuilder = (invocations: ToolPart[], options?: ToolTimelineBuilderOptions) => TimelineDoc;
