/// export interface Version { id: string; label: string; value: string; name: string; status: 'live' | 'draft' | 'deprecated'; version: string; avatar?: string; } export interface AppVersionControlProps { value: string; versions: Version[]; onVersionChange: (value: string, version: Version) => void; onCreateVersion: (detail: { version: string; baseVersion: string; }) => Promise; onPromoteToLive: (value: string, version: Version) => Promise; allowPublish?: boolean; allowCreate?: boolean; className?: string; style?: React.CSSProperties; }