/**
 * PDF Section Builders
 *
 * Composable section builders for creating styled PDF pages.
 * Each builder takes content-only configuration and returns a Page object.
 *
 * @example
 * ```typescript
 * import {
 *   coverSection,
 *   summarySection,
 *   automationSection,
 *   summaryInvestmentSection  // Combined section (recommended)
 * } from '@repo/core/pdf/sections'
 *
 * // Recommended: 5-page layout with combined summary + investment
 * const document: PDFDocument = {
 *   pages: [
 *     coverSection({ company: 'Acme', contact: 'John', vertical: 'Tech', solutions: 'Automation' }),
 *     summarySection({ totalSavings: 50000, automationCount: 2, description: '...' }),
 *     ...automations.map(a => automationSection(a)),
 *     summaryInvestmentSection({ automations, tier: 'tier2' })  // Combined final page
 *   ],
 *   metadata: { title: 'Proposal', author: 'Elevasis' }
 * }
 *
 * // Legacy: 6-page layout with separate summary table and investment pages
 * // Use tableSummarySection + investmentSection if you need them separate
 * ```
 */

// Section builders
export { coverSection } from './cover'
export { summarySection } from './summary'
export { automationSection } from './automation'
export { tableSummarySection } from './table-summary'
export { investmentSection } from './investment'
export { summaryInvestmentSection } from './summary-investment'
export { acceptanceSection } from './acceptance'

// Shared proposal document builder (used by sandbox, diagnostic, and production)
export {
  buildProposalDocument,
  generateExecutiveSummary,
  type ProposalDocumentConfig
} from './proposal-document'

// Config types
export type {
  CoverConfig,
  SummaryConfig,
  AutomationConfig,
  TableSummaryConfig,
  InvestmentConfig,
  SummaryInvestmentConfig,
  AcceptanceConfig
} from './types'
