import type { ToolCall } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/message_pb";
import { ApprovalAction } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/enum_pb";
import { type ThreadItem, type ThreadContentColumn } from "../execution/MessageThread.js";
import { type FilePathContextValue } from "../execution/FilePathContext.js";
import { type SandboxContextValue } from "../execution/SandboxContext.js";
import { type ApprovalContextValue } from "../execution/ApprovalContext.js";
import { type FileReviewContextValue } from "../execution/FileReviewContext.js";
export interface VirtualizedThreadProps {
    readonly items: readonly ThreadItem[];
    readonly formatToolCallSummary?: (toolCalls: readonly ToolCall[]) => string;
    readonly onApprovalSubmit?: (toolCallId: string, action: ApprovalAction, comment?: string) => void;
    readonly submittingApprovalIds?: ReadonlySet<string>;
    readonly approvalErrors?: ReadonlyMap<string, Error>;
    readonly filePathCtx: FilePathContextValue;
    readonly sandboxCtx: SandboxContextValue;
    readonly approvalCtx: ApprovalContextValue;
    readonly fileReviewCtx: FileReviewContextValue;
    readonly unresolvedApprovalCount: number;
    readonly onBuildFromPlan?: () => void;
    readonly onOpenPlan?: (executionId: string) => void;
    readonly org?: string;
    readonly planActionsDisabled?: boolean;
    readonly planBuildPending?: boolean;
    readonly contentColumn?: ThreadContentColumn;
    readonly onRetrySend?: () => void;
    readonly onRetryExecution?: (message: string) => void;
    readonly onEditMessage?: (text: string) => void;
}
/**
 * Internal component that renders a `MessageThread` item list via
 * `react-virtuoso`. Handles bottom-anchored chat layout,
 * follow-output scroll behavior, and the "Jump to latest" button.
 *
 * Not part of the public API — used only when `MessageThread` receives
 * `virtualized={true}`.
 *
 * @internal
 */
export declare function VirtualizedThread({ items, formatToolCallSummary, onApprovalSubmit, submittingApprovalIds, approvalErrors, filePathCtx, sandboxCtx, approvalCtx, fileReviewCtx, unresolvedApprovalCount, onBuildFromPlan, onOpenPlan, org, planActionsDisabled, planBuildPending, contentColumn, onRetrySend, onRetryExecution, onEditMessage, }: VirtualizedThreadProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=VirtualizedThread.d.ts.map