/** * Placeholder body shipped with the template. Overwritten by the real * markdown-rendered body at render time; only shown when the shell is previewed * with no injected content. */ export declare const LOREM_IPSUM_BODY = "

Lorem ipsum dolor sit amet

\n

Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.

\n

Secci\u00F3n de ejemplo

\n

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

\n

Nota: excepteur sint occaecat cupidatat non proident.

\n
ConceptoEstado
LoremOK
IpsumRevisar
"; /** * Wrap a rendered markdown body in the branded document shell. `contentCss` is * the content theme (the caller's `MARKDOWN_CSS`), embedded verbatim ahead of the * shell CSS so the document is fully self-contained. When `bodyHtml` is omitted * the lorem-ipsum placeholder is used; a real body overwrites it. */ export declare function wrapInDocumentTemplate(contentCss: string, bodyHtml?: string): string; /** * Fixed on-screen slide canvas per orientation (GH-doc-deck-fixed-size). Every * slide in a deck renders at the SAME size — width and height both fixed, not * content-driven — so the deck reads as a real, uniform slide set instead of * variable-height cards, and pagination (below) measures against a * deterministic reference size instead of the viewer's own viewport (a slide * that fills a dynamic viewport height would re-paginate differently on every * screen size it's opened on). `.gutter` gets this SAME explicit height, so * the mascot column always reaches exactly as far as the slide does — an * explicit value rather than `align-items: stretch` alone, so it stays exact * even when an ancestor (the interactive single-slide viewer) is taller than * this fixed canvas and centers it. `height: auto` (see `@media print` below) * intentionally drops this for printed/PDF output, where content still flows * naturally per Letter page. */ declare const DECK_SLIDE_SIZE: { readonly horizontal: { readonly width: 820; readonly height: 540; }; readonly vertical: { readonly width: 480; readonly height: 760; }; }; export type DeckOrientation = keyof typeof DECK_SLIDE_SIZE; /** * Choose a single orientation for the whole deck from its rendered body HTML * (GH-doc-deck-fixed-size). One orientation applies to every slide — a mixed * per-slide orientation would make `.stage`'s side-by-side gutter layout * incoherent, so this looks at the WHOLE document once, not slide-by-slide. */ export declare function detectDeckOrientation(bodyHtml: string): DeckOrientation; /** * Split rendered document HTML into slide chunks (GH-doc-deck-mode). * * A leading fragment before the first heading (of any level) that renders no * visible text — e.g. this repo's own mandated Salesforce Cloud logo image * (Documentation Standards), which the deck template re-renders itself * per-slide via its brandbar — is dropped up front, before either split * strategy below runs, so it never becomes its own blank slide NOR gets * glued onto slide 1 alongside the real title. * * Splits at each top-level `

` boundary. * * A document with only one (or no) top-level `

` — just its title — * commonly organizes real content under `

`/`

` instead. Splitting on * `

` alone would then collapse the whole document into one giant slide, * so this falls back to splitting at every `

`/`

` boundary instead — * but only when that yields a meaningfully multi-slide deck (see * {@link MIN_FALLBACK_SLIDES}), and never when the body contains a * `.pillars`/`.split` widget grid (see {@link WIDGET_CARD_HEADING_SIGNAL}) — * a short document still stays one slide. * * Finally, any resulting slide whose own body (excluding its heading) is too * short to stand alone merges forward into the next slide (see * {@link SPARSE_SLIDE_BODY_THRESHOLD}) — e.g. a parent section heading with * only a one-sentence intro before its first real subsection. */ export declare function splitHtmlIntoSlides(html: string): string[]; /** * Wrap rendered document HTML in the branded SLIDE-DECK shell (mode B). The body * is split at each top-level `

` into `
` cards, each * flanked by mascot gutters (`stage` = gutter + slide + gutter.flip), matching * the reference deck. `contentCss` is the same content theme mode A uses, so * typography/tokens are identical; only the deck scaffolding differs. */ export declare function wrapInSlideDeckTemplate(contentCss: string, bodyHtml?: string): string; export {};