import { ChartDrawing } from '../../../../../../../layout-engine/contracts/src/index.js';
import { PMNode, NodeHandlerContext, BlockIdGenerator, PositionMap } from '../types.js';
/**
 * Convert a ProseMirror chart node to a ChartDrawing DrawingBlock.
 *
 * Always produces a block — even when chartData is null (unparseable chart XML).
 * The renderer handles the empty-data case by showing a placeholder.
 */
export declare function chartNodeToDrawingBlock(node: PMNode, nextBlockId: BlockIdGenerator, positions: PositionMap): ChartDrawing;
/**
 * Handle chart nodes in the PM adapter conversion.
 */
export declare function handleChartNode(node: PMNode, context: NodeHandlerContext): void;
//# sourceMappingURL=chart.d.ts.map