/**
 * Layout Exporter Module
 *
 * Modular exports for layout exporting functionality.
 * All functionality is now in the modular structure.
 */

// Main export function
export { exportLayout } from "./exportLayout";

// Placeholders - Single source of truth for all placeholder definitions
export { availablePlaceholders, PLACEHOLDER_KEYS, PLACEHOLDER_DESCRIPTIONS, CANVAS_PLACEHOLDER_NOTE } from "./placeholders";
export type { PlaceholderInfo, PlaceholderKey } from "./placeholders";
export {
  applyCanvasPlaceholders,
  buildCanvasPlaceholderReplacements,
  describeCanvasPlaceholders,
  elementNameToSlug,
} from "./canvasPlaceholders";
export { applyPreviewPlaceholders, getSamplePlaceholderValues } from "./previewPlaceholders";

// Types
export type { ExportResult } from "./types";
export {
  BREAKPOINTS,
  isPriceElement,
  isVariablePriceRangeElement,
  isCurrencyElement,
  isDiscountBadgeElement,
  isTextElement,
} from "./types";

// Utility functions
export {
  getClassName,
  getDesktopValue,
  alignmentToCSS,
  generateTypographyCSS,
  generateBaseElementCSS,
  generateAbsoluteCSS,
  escapeHtml,
} from "./utils";

// HTML generators
export {
  generatePriceHTML,
  generateVariablePriceRangeHTML,
  generateCurrencyHTML,
  generateDiscountBadgeHTML,
  generateTextElementHTML,
  generateElementHTML,
} from "./htmlGenerators";

// CSS generators
export {
  generateBaseElementCSS as generateElementBaseCSS,
  generateAbsoluteCSS as generateElementAbsoluteCSS,
  generateDecimalCSS,
  generateLineThroughCSS,
  generateVariablePriceRangeCSS,
  generateDiscountBadgeCSS,
  generateTextElementCSS,
} from "./cssGenerators";

// Responsive generators
export {
  generateResponsiveTypographyRules,
  generateResponsiveBorderRules,
  generateResponsivePaddingRules,
  generateResponsiveMarginRules,
  generateResponsiveDecimalRules,
  generateResponsiveVariableRangeRules,
  generateResponsiveContainerRules,
  collectElementResponsiveRules,
  generateMediaQueryCSS,
  collectAllResponsiveRules,
} from "./responsiveGenerators";
