import { LocalConfig } from './local-config.js';
import { type ConfigManager } from '../../../../core/config-manager.js';
export declare class LocalConfigRuntimeState {
    private readonly basePath;
    private readonly fileName;
    private readonly configManager?;
    private readonly source;
    private readonly backend;
    private readonly objectMapper;
    isLoaded: boolean;
    private _localConfig;
    constructor(basePath: string, fileName: string, configManager?: ConfigManager);
    get configuration(): LocalConfig;
    load(): Promise<void>;
    /**
     * Migrates the cache directories to the new structure.
     * It will look for directories in the format 'v0.58/staging/v0.58.10' and move them to current staging directory.
     */
    private migrateCacheDirectories;
    private findMatchingSoloCacheDirectories;
    persist(): Promise<void>;
    private refresh;
    configFileExists(): boolean;
}
