/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** The shared disclosure and persisted fold state for scheduling builders. */ import { type ReactNode } from "react"; /** * A group's fold follows its surface through layouts, resizes and remounts. Its `toggle` is the same function while the * fold's store is, so a row that draws a band draws again only as its fold changes (#1398, CL9). */ export declare function useGroupCollapse(surface: string): { collapsed: string[]; toggle: (group: string) => void; open: (group: string) => void; }; /** * Native button semantics keep Enter/Space and focus identical in both builders. `measure` is handed the band's element * as it mounts: what a virtual list measures its bands' estimate from (#1398, CL8). */ export declare function GroupHeading({ scope, group, styles, collapsed, toggle, measure, children }: { scope: "calendar" | "roster" | "allocation"; group: { key: string; label: string; }; styles: Record>; collapsed: boolean; toggle: (group: string) => void; measure?: ((el: HTMLElement | null) => void) | undefined; children?: ReactNode; }): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=group-heading.d.ts.map