/**
 * ReplyTree Organism Component
 *
 * Recursive nested-thread reply renderer with collapse, per-node mod actions, and vote.
 * Composes the VoteStack molecule + Avatar/Typography/Button atoms.
 */
import React from "react";
import type { EventEmit } from "@almadar/core";
import { type VoteValue } from "../molecules/VoteStack";
export interface ReplyNode {
    id: string;
    authorName: string;
    authorAvatarUrl?: string;
    content: string;
    postedAt: string;
    voteCount?: number;
    userVote?: VoteValue;
    replies?: ReplyNode[];
    collapsed?: boolean;
}
export interface ReplyTreeProps {
    nodes: ReplyNode[];
    maxDepth?: number;
    onVote?: (nodeId: string, vote: VoteValue) => void;
    onReply?: (parentNodeId: string) => void;
    onFlag?: (nodeId: string) => void;
    onContinueThread?: (nodeId: string) => void;
    voteEvent?: EventEmit<{
        nodeId: string;
        vote: VoteValue;
    }>;
    replyEvent?: EventEmit<{
        parentNodeId: string;
    }>;
    flagEvent?: EventEmit<{
        nodeId: string;
    }>;
    continueThreadEvent?: EventEmit<{
        nodeId: string;
    }>;
    showActions?: boolean;
    className?: string;
}
export declare const ReplyTree: React.FC<ReplyTreeProps>;
