import type { Edge, LayoutData, Node } from '../../types.js'; import { type GridLabelSpanRequirement } from './labelGeometry.js'; import type { GridRoutingInstrumentation } from './routerInstrumentation.js'; import type { GridCellStack, GridContainerId, GridForest } from './types.js'; interface GridLabelledEdge { edge: Edge; labelNode: Node; } export interface GridLabelRequirements { byContainer: Map; selfLoops: Map; } export interface GridContainerLabelGaps { rowGapAfter: Map; columnGapAfter: Map; } export declare function buildGridLabelRequirements(data: LayoutData, forest: GridForest, metrics?: GridRoutingInstrumentation): GridLabelRequirements; export declare function deriveGridContainerLabelGaps(entries: readonly GridLabelledEdge[], cells: ReadonlyMap, rowHeights: ReadonlyMap, columnWidths: ReadonlyMap, sortedRows: readonly number[], sortedColumns: readonly number[], configuredRowGap: number, configuredColumnGap: number, metrics?: GridRoutingInstrumentation): GridContainerLabelGaps; export {};