/// <reference types="react" />
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<boolean | undefined>;
    onPromoteToLive: (value: string, version: Version) => Promise<boolean | undefined>;
    allowPublish?: boolean;
    allowCreate?: boolean;
    className?: string;
    style?: React.CSSProperties;
}
