/** * The parts of a map (#1057): a painted map in a frame, its title, its key * and its scale set on it as labels, and three notes beside it, each joined * by a connector with a dot at its end to the anchor of the part it names * (`title`, `legend`, `scale`). Two names on the map stand away from their * points with a leader (a mountain range, a lake). English, Spanish and * Arabic editions share the picture and its anchors; the words are written * for this fixture, the country is invented. The form is the template and * the label styles; every word is in the Markdown. */ 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 type MapPartsLocale = 'en' | 'es' | 'ar'; interface MapPartsText { heading: string; notes: [string, string, string]; alt: string; title: string; key: { country: string; river: string; peak: string; }; km: string; peaks: string; lake: string; caption: string; } export declare const MAP_PARTS_TEXT: Record; /** The page of `locale`: the heading, the map and the three notes. * `lead` goes before the figure in the map's frame (a paragraph long * enough makes the ladder scale the picture). */ export declare function mapPartsPage(locale: MapPartsLocale, options?: { template?: string; spread?: boolean; lead?: string; }): string; /** The map, 1776 × 1184 px (the painted locator map of the school-atlas * recipe in the evidence; any picture of that shape in the tests). */ export declare const MAP_PARTS_RESOURCES: Resource[]; /** The template: the heading on top, the map on the right, the notes in a * column on its left, stacked; a connector from each note to its part. */ export declare const MAP_PARTS_TEMPLATE: PageTemplate; /** The same parts over a spread: the notes on the left page, the map on * the right one, the connectors across the spine. */ export declare const MAP_PARTS_SPREAD_TEMPLATE: PageTemplate; export declare function mapPartsConfig(locale: MapPartsLocale): PostextConfig; export declare function mapPartsFixture(locale: MapPartsLocale, options?: Parameters[1]): { markdown: string; config: PostextConfig; resources: Resource[]; }; export {}; //# sourceMappingURL=mapParts.d.ts.map