import type { ResolvedFrame, ResolvedPageTemplate } from './types.js'; import type { Rect } from './geometry.js'; export interface GrowMembers { frames: string[]; groups: string[]; } /** * What `box` grows with: with `'children'`, the frames and groups anchored * to a point of its top side, then, round after round, every frame and * group anchored to one of those (any edge: a caption `below` its picture), * and the frames of a group taken (a grid's instances included); with a * list, the frames and groups it names. The box itself, and frames that * anchor to it by its foot or middle (they move with its height), never. */ export declare function growMembers(template: Pick, box: ResolvedFrame): GrowMembers; /** * The height `box` needs to hold its members as laid: from its top to the * lowest foot among them, and its bottom padding (`padBottom`, px). * `undefined` when none of them is laid, or when the box is tall enough * already (within half a pixel). */ export declare function grownHeight(box: Rect, members: readonly Rect[], padBottom: number): number | undefined; //# sourceMappingURL=grow.d.ts.map