/**
 * SendBackMessage — renders a send_back message in the timeline.
 * Shows pinned file reference, ACTION REQUIRED issues, then collapsible history.
 */
import type { SendBackData, ContentItem } from '../types.js';
import type { ResolutionCheck } from '../../../types/shared_data.js';
export interface SendBackMessageProps {
    /** One or many send_back payloads. When an array, the pinned file row is
     *  rendered once (using the first entry's source_file) and one
     *  "ACTION REQUIRED" block is rendered per entry — useful when the agent
     *  submitted decisions for multiple rules on the same file. All entries
     *  must share the same source_content_id. */
    data: SendBackData | SendBackData[];
    /** Whether the parent task has been completed (shows resolved styling) */
    resolved?: boolean;
    /** Latest aggregate resolver verdict for this task — rendered as a panel below ACTION REQUIRED. */
    resolution?: ResolutionCheck | null;
    /** True while a resolver run is in-flight — drives the inline "updating…" spinner badge. */
    resolving?: boolean;
    on_view_file?: (item: ContentItem) => void;
    /** Effective Keep state for the source file (the original this send-back references).
     *  When provided, render a Keep checkbox on the pinned file reference. Toggling it
     *  updates the SAME data.collected_data_selections entry as the file_bar checkbox at
     *  the top, so the original and the reference stay visually in sync. */
    source_keep_selected?: boolean;
    /** Toggle handler — same shape as the Collected Data tab. */
    on_keep_change?: (selections: Record<string, boolean>) => void;
    /** When false, suppresses the Keep checkbox on the pinned file reference. */
    show_keep_checkbox?: boolean;
    /** Called when the user submits an inline reply targeting a specific send-back entry. */
    on_reply?: (source_content_id: string, file_name: string | undefined, rule_name: string | undefined, text: string) => void;
}
export declare function SendBackMessage({ data, resolved, resolution, resolving, on_view_file, source_keep_selected, on_keep_change, show_keep_checkbox, on_reply }: SendBackMessageProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=send_back_message.d.ts.map