import { VersionUpgrade } from './VersionUpgrade';
import { AdaptableState } from '../AdaptableState/AdaptableState';
/**
 * Config object used by State Auto-migration Wizard
 */
export interface UpgradeConfig {
    /**
     * AdapTable version to upgrade from
     */
    fromVersion: number;
    /**
     * AdapTable version to upgrade to
     *
     * @defaultValue The current version
     */
    toVersion?: number;
    /**
     * The logger object
     *
     * @defaultValue The console object
     */
    logger?: MigrationLogger;
}
export interface MigrationLogger {
    success: (message: string, ...optionalParams: any[]) => void;
    info: (message: string, ...optionalParams: any[]) => void;
    warn: (message: string, ...optionalParams: any[]) => void;
    error: (message: string, ...optionalParams: any[]) => void;
}
export declare class AdaptableUpgradeHelper {
    protected currentMajorVersion: number;
    protected versionUpgrades: Map<number, VersionUpgrade>;
    protected logger: MigrationLogger;
    private constructor();
    static migrateAdaptableState(state: AdaptableState, config: UpgradeConfig): AdaptableState;
    private getCurrentMajorVersion;
    private getConsoleLogger;
}
