/** * WP1 — Slide parser. Deck source → Deck AST. * * Pure functions only (no DOM, no network). Implements DESIGN.md §4–§5: * - split the source into slides at `` markers, * - parse a leading `` block into DeckConfig, * - expand a preset alias (or parse a raw row/col split grammar) into a * fully-expanded LayoutNode tree (the layout engine never sees a preset * name — the parser owns expansion, §5.4.1), * - parse region bodies (``), reserved regions * (`@notes` / `@footer` / `@float`), per-slide options, the leading-h2 * title, and the heading lint rules (§5.2). */ import type { Deck } from './types.js'; export declare function parseDeck(source: string): Deck;