import type { UnifiedMigrationResult } from '../../types/index.js';
export type { UnifiedMigrationResult };
/**
 * Merge technical.md into spec.md under a `## Technical` section, then delete technical.md.
 * Idempotent: skips if spec.md already contains `## Technical`.
 *
 * @param specDir   Absolute path to the spec directory.
 * @param projectPath  Project root used for `safeUnlink` (git-aware deletion). Optional:
 *                     when omitted, falls back to plain unlink.
 */
export declare function migrateToUnified(specDir: string, projectPath?: string): Promise<UnifiedMigrationResult>;
/** Migrate all SPEC-* dirs under projectPath to unified format. Best-effort: never throws. */
export declare function migrateAllSpecsToUnified(projectPath: string): Promise<{
    mergedCount: number;
    skippedCount: number;
    errors: string[];
}>;
//# sourceMappingURL=unified-migration.d.ts.map