/**
 * Workspace Config Migrator
 *
 * Migrates legacy umbrella/multiProject/projectMappings configs
 * into the unified workspace format (v3.0).
 *
 * @module core/config/workspace-migrator
 */
import type { SpecWeaveConfig } from './types.js';
export interface MigrationLogger {
    info: (msg: string) => void;
    warn: (msg: string) => void;
}
/**
 * Migrate legacy config to workspace format.
 *
 * - umbrella.childRepos → workspace.repos
 * - umbrella.sync → workspace.rootRepo
 * - umbrella.projectName → workspace.name
 * - multiProject.projects → workspace.repos (deduplicated by id)
 * - projectMappings → workspace.repos[].sync
 *
 * Idempotent: if config already has workspace and no legacy keys, returns unchanged.
 * On error: logs warning and returns original config untouched.
 */
export declare function migrateToWorkspace(config: SpecWeaveConfig, logger?: MigrationLogger): SpecWeaveConfig;
//# sourceMappingURL=workspace-migrator.d.ts.map