export type {
  LayoutCandidate,
  LayoutCandidateLine,
  Lexicons,
  ScoredLayout,
  ScoreBreakdown,
  ScoreLayoutInput,
  ScoreTerm,
  ScoringConfig,
  TextWrapContext,
  Weights,
} from './types';

export { DEFAULT_LEXICONS, mergeLexicons } from './lexicons';
export { DEFAULT_WEIGHTS, mergeWeights } from './weights';

export { preparePhraseTokens, findPhraseSpans, isSpanSplitByBreaks } from './phraseMatch';
export { scoreLayout } from './score';
export type { BuildTieKeyInput } from './tieKey';
export { buildTieKey } from './tieKey';

