import { TNode, Value } from '@tempots/dom';
export interface HistoryEntry {
    id: string;
    /** Action label (e.g., "DELETED", "EDITED", "CREATED") */
    action: string;
    /** Color for the action label and timeline dot */
    actionColor: string;
    /** Icon for the timeline dot */
    icon: string;
    /** Target name */
    target: string;
    /** Icon for the target */
    targetIcon: string;
    /** Actor info */
    actor: {
        name: string;
        initials: string;
    };
    /** Timestamp string */
    time: string;
    /** Detail text */
    detail: string;
    /** Whether this entry can be restored */
    restorable?: boolean;
    /** Callback for restore action */
    onRestore?: () => void;
}
export interface HistoryTimelineOptions {
    entries: Value<HistoryEntry[]>;
    filters?: {
        value: string;
        label: string;
    }[];
}
export declare function HistoryTimeline(options: HistoryTimelineOptions): TNode;
