// engine/design-to-spec/index.ts — Barrel export for design-to-spec engine (SPEC-159)
export { parseDesignDescription } from './parser.js';
export { generateAcsForScreen, generateAllAcs, getA11yRequirementsForComponent, getGlobalA11yRequirements, } from './ac-generator.js';
export { buildUiContract, buildComponentTreeSummary } from './ui-contract-builder.js';
export { buildSpecMarkdown, assembleResult } from './spec-builder.js';
import { parseDesignDescription } from './parser.js';
import { assembleResult } from './spec-builder.js';
/**
 * Main entry point: generates a structured spec from a design description.
 * Orchestrates parser → AC generator → UI contract builder → spec assembler.
 */
export function generateSpecFromDesign(args) {
    const platform = args.platform ?? 'web';
    const includeA11y = args.includeA11y ?? true;
    const screenNames = args.screens ?? [];
    const parsedDesign = parseDesignDescription(args.designDescription, screenNames, platform);
    return assembleResult(parsedDesign, args.projectId, platform, includeA11y);
}
//# sourceMappingURL=index.js.map