/**
 * Import existing AI instruction files to PromptScript format.
 *
 * Supports CLAUDE.md, copilot-instructions.md, .cursorrules, AGENTS.md,
 * and generic markdown files with heuristic section classification.
 *
 * @packageDocumentation
 */

export { importFile } from './importer.js';
export type { ImportOptions, ImportResult } from './importer.js';
export type { DetectedFormat } from './detector.js';
export { detectFormat, getParser } from './detector.js';
export { classifyConfidence, ConfidenceLevel } from './confidence.js';
export type { ScoredSection } from './confidence.js';
export { mapSections } from './mapper.js';
export { emitPrs, emitModularFiles } from './emitter.js';
export type { EmitOptions, ModularEmitOptions } from './emitter.js';
export { validateRoundtrip } from './roundtrip.js';
export type { RoundtripResult } from './roundtrip.js';
export type { FormatParser } from './parsers/types.js';
export type { MarkdownSection } from './parsers/markdown.js';
export { mergeSections } from './merger.js';
export type { SourcedSection, MergedBlock, MergeResult } from './merger.js';
export { importMultipleFiles } from './multi-importer.js';
export type { MultiImportOptions, MultiImportResult, FileReport } from './multi-importer.js';
