import { Entity, EntityMenuAction } from '../molecules/EntityMenu'; import { EntitySpan } from './entitySpans'; export interface AnalystMarkdownProps { /** The raw markdown. Entity offsets are resolved against this string. */ source: string; /** * Resolved entity spans, as offsets into `source`. Supplied by the model or * the enrichment service -- never derived by pattern-matching the prose. */ entities?: readonly EntitySpan[]; /** * Renders one marker on the block declaring it AI generated. Broad visibility * in Carbon's terms: one marker for the whole generated block, never one per * entity chip, which would be decoration and would collide with verdict tint. */ aiGenerated?: boolean; /** Cap on marked spans per block. Defaults to 8. */ maxMarkedPerBlock?: number; /** Pivot actions appended to every entity menu, after the copy actions. */ entityActions?: EntityMenuAction[]; onEntityAction?: (actionId: string, entity: Entity) => void; } /** * @example * */ export declare function AnalystMarkdown({ source, entities, aiGenerated, maxMarkedPerBlock, entityActions, onEntityAction, }: AnalystMarkdownProps): import("react").JSX.Element; export default AnalystMarkdown;