export default fillInMinWidths; export type CompleteTracks = { center: Array; left: Array; right: Array; top: Array; bottom: Array; whole: Array; gallery: Array; }; export type WithMinWidth> = Array; /** @import * as t from '../types' */ /** * @typedef CompleteTracks * @property {Array} center * @property {Array} left * @property {Array} right * @property {Array} top * @property {Array} bottom * @property {Array} whole * @property {Array} gallery */ /** * @template {t.TrackPosition} K * @template {Array} T * @typedef {Array} WithMinWidth */ /** * If tracks don't have specified dimensions, add in the known minimums * * WARNING: Mutates `tracks` argument * * @template {Partial} T * @param {T} tracks * @returns {{ * [K in t.TrackPosition]: K extends keyof T ? T[K] extends undefined ? Array : T[K] : Array * }} * * Operates on the tracks stored for this TiledPlot. */ declare function fillInMinWidths>(tracks: T): { [K in t.TrackPosition]: K extends keyof T ? T[K] extends undefined ? Array : T[K] : Array; }; import type * as t from '../types';