/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import { type ToolbarItem } from "@elaraai/east-ui-components"; import type { PlanChrome } from "../root/chrome.js"; import type { PlanOverlaps } from "../frame/counts.js"; export { Seg, SegMenu } from "../../shared/schedule/segments.js"; /** * The Plan's toolbar items, in §7.1's order and on its fold ladder (see the * module docs) — for its frame's one toolbar. Read inside the canvas's * contexts (`PlanCanvasParts.provide`): the segments dispatch to the canvas's * controller. Each item is made again only as what it shows moves, and the * list with them (#1398, CL9): the frame is drawn again as each window lands, * and a toolbar handed the same items draws and measures nothing again. * * @param chrome - What the canvas's chrome is drawn from; `undefined` with no window * @param overlaps - The overlaps among the window's events (#1198): the chip shows while there is a pair; `undefined` for a Plan without event kinds * @returns The items, a falsy entry for each the Plan has no use for — none with no window */ export declare function usePlanToolbarItems(chrome: PlanChrome | undefined, overlaps?: PlanOverlaps | undefined): ReadonlyArray; //# sourceMappingURL=Toolbar.d.ts.map