/**
 * Rollback Types
 *
 * Shared types for rollback dialog components.
 *
 * @since v1.43.3
 */
import type { PluginVersionEntry } from '../../../core/history/index.js';
/**
 * Rollback dialog view mode
 */
export type RollbackView = 'select' | 'confirm' | 'empty';
/**
 * Props for version list item rendering
 */
export interface VersionItemProps {
    /** Version entry data */
    entry: PluginVersionEntry;
    /** Index in the list (1-based for display) */
    displayIndex: number;
    /** Whether this item is currently selected */
    isSelected: boolean;
}
/**
 * Formatted version info for display
 */
export interface FormattedVersionInfo {
    version: string;
    formattedDate: string;
    formattedSize: string;
    source: string;
    hasBackup: boolean;
}
/**
 * Format date for display with relative time
 */
export declare function formatRelativeDate(isoDate: string): string;
//# sourceMappingURL=rollback-types.d.ts.map