/**
 * RichBlockEditor Organism Component
 *
 * Notion / Lexical-style block authoring editor. Internal state owns the
 * block tree; contentEditable spans flow updates back through onInput.
 *
 * TODO(phase-11): collaboration / undo-redo / markdown export are out of
 * scope for the Phase 10 scaffold.
 */
import React from "react";
import type { EventEmit, EventPayloadValue } from '@almadar/core';
export type BlockType = "paragraph" | "heading-1" | "heading-2" | "heading-3" | "bullet-list" | "numbered-list" | "quote" | "code" | "divider" | "image";
export interface RichBlock {
    id: string;
    type: BlockType;
    content?: string;
    metadata?: Record<string, string | number | boolean>;
    children?: RichBlock[];
    [key: string]: EventPayloadValue;
}
export interface RichBlockEditorProps {
    initialBlocks?: RichBlock[];
    onChange?: (blocks: RichBlock[]) => void;
    changeEvent?: EventEmit<{
        blocks: RichBlock[];
    }>;
    readOnly?: boolean;
    placeholder?: string;
    showToolbar?: boolean;
    className?: string;
}
export declare const RichBlockEditor: React.FC<RichBlockEditorProps>;
