/**
 * Directory structure creation and template copying
 *
 * Enhanced with smart scaffolding for living docs (v0.35.0+)
 */
import type { SupportedLanguage } from '../../../core/i18n/types.js';
import type { TestMode } from './types.js';
import { type DetectedDoc } from '../../../core/living-docs/scaffolding/index.js';
/**
 * Create the .specweave directory structure
 *
 * Enhanced with smart living docs scaffolding:
 * - Creates full docs structure with README files
 * - Detects project ID from git remote
 * - Scans for existing documentation to merge
 *
 * @param targetDir - Target directory
 * @param _adapterName - Adapter name (unused, kept for API compatibility)
 * @param options - Optional scaffolding options
 * @returns Promise that resolves when scaffolding is complete
 */
export declare function createDirectoryStructure(targetDir: string, _adapterName: string, options?: {
    projectName?: string;
    scanExistingDocs?: boolean;
}): Promise<void>;
/**
 * Scan for existing documentation and suggest merges
 *
 * Call this after createDirectoryStructure to detect existing docs
 * that could be imported into living docs.
 *
 * @param targetDir - Target directory
 * @returns Detected documentation files with merge suggestions
 */
export declare function scanAndSuggestMerges(targetDir: string): Promise<{
    detected: DetectedDoc[];
    suggestions: Map<string, DetectedDoc[]>;
    similarFolders: Map<string, string[]>;
}>;
/**
 * Copy templates and generate CLAUDE.md and AGENTS.md
 *
 * @param templatesDir - Source templates directory
 * @param targetDir - Target directory
 * @param projectName - Project name
 * @param language - Language for i18n
 */
export declare function copyTemplates(templatesDir: string, targetDir: string, projectName: string, language?: SupportedLanguage, adapter?: string): Promise<void>;
/**
 * Write a minimal .specweave/config.json so that findProjectRoot() can
 * resolve this directory as a SpecWeave project BEFORE createDirectoryStructure()
 * creates the increments/ folder.  Without this, next-id may resolve to a
 * sibling project during the init window (AD-3).
 *
 * If config.json already exists (e.g. re-init), this is a no-op.
 */
export declare function createMinimalConfig(targetDir: string, projectName: string): void;
/**
 * Create .specweave/config.json with project settings
 *
 * If a minimal config already exists (from createMinimalConfig), this
 * overwrites it with the full configuration.
 */
export declare function createConfigFile(targetDir: string, projectName: string, adapter: string, language: SupportedLanguage, enableDocsPreview?: boolean, testMode?: TestMode, coverageTarget?: number): void;
//# sourceMappingURL=directory-structure.d.ts.map