import type { Client } from '@botpress/client';
import type { MigrationResult } from './types.js';
import { IntegrationResolver } from './resolvers/integration-resolver.js';
import { PluginResolver } from './resolvers/plugin-resolver.js';
export interface MigrateOptions {
    projectPath: string;
    client: Client;
    integrationResolver?: Pick<IntegrationResolver, 'applyToCloud'>;
    pluginResolver?: Pick<PluginResolver, 'applyToCloud'>;
}
export declare class DependencyMigrationManager {
    private readonly projectPath;
    private readonly client;
    private readonly snapshotStore;
    private readonly integrationRegistry;
    private readonly pluginRegistry;
    private readonly integrationResolver;
    private readonly pluginResolver;
    constructor(opts: MigrateOptions);
    run(): Promise<MigrationResult>;
    private deleteLegacyLock;
    private readLegacyState;
    private fetchBot;
    private importLegacyToCloud;
}
export declare function migrateFromConfig(opts: MigrateOptions): Promise<MigrationResult>;
//# sourceMappingURL=migration.d.ts.map