/** * Modules (#1062): a topic page built from a page shell (a title and a * modules group) and three module templates a series of books could share: * a box with a tab and a photo beside its text (`caja`), a tree of three * frames over a tinted ground (`arbol`), and a 2 × 2 photo grid with its own * heading (`fotos`, a grid that repeats a photo and its caption). The words * are written for this fixture, in Spanish and English (the Spanish box is * longer, so it pushes the modules after it down); the pictures are the * solid placeholders of `fixtures/page8`. */ import type { PostextConfig, Resource } from '../../../types.js'; import type { PageTemplate } from '../../../composed/types.js'; export declare const mm: (value: number) => { value: number; unit: "mm"; }; export declare const MODULE_RESOURCES: Resource[]; /** The page shell: the title, then the modules one under another. */ export declare const TOPIC_TEMPLATE: PageTemplate; /** A box with a tab over its text and a photo beside it. */ export declare const BOX_MODULE: PageTemplate; /** A tree of three: a root over two branches, on a tinted ground. */ export declare const TREE_MODULE: PageTemplate; /** A 2 × 2 photo grid under a heading of its own. */ export declare const PHOTOS_MODULE: PageTemplate; export declare const MODULE_CONFIG: PostextConfig; /** The words of the topic page in each language. */ export declare const TOPIC_WORDS: { es: { title: string; tab: string; box: string[]; tree: string[]; photos: string; captions: string[]; }; en: { title: string; tab: string; box: string[]; tree: string[]; photos: string; captions: string[]; }; }; export type TopicLocale = keyof typeof TOPIC_WORDS; /** The box module's block. */ export declare const boxModule: (lang: TopicLocale, attrs?: string) => string; /** The tree module's block. */ export declare const treeModule: (lang: TopicLocale, attrs?: string) => string; /** The photo grid module's block: its heading, then one card per photo. */ export declare const photosModule: (lang: TopicLocale, attrs?: string) => string; /** The topic page: a title and the three modules. */ export declare const topicPage: (lang: TopicLocale, modules?: readonly string[]) => string; //# sourceMappingURL=modules.d.ts.map