import { ReactNode } from "react"; //#region src/kanban/column-band-header.d.ts /** * How a band toggle was activated. A pointer activation leaves the pointer * over whatever replaces the caption (the folded slot), which matters to the * board's peek behaviour; a keyboard activation does not. */ export type KanbanBandToggleActivation = { viaPointer: boolean; }; export type KanbanColumnBandHeaderProps = { /** The band name, or the control that has taken its place. */ title: ReactNode; /** Colour swatch for the band. */ swatch?: ReactNode; /** Short text after the name, such as the band's card count. */ meta?: ReactNode; /** The band's persisted state; drives the toggle, its icon, and its label. */ collapsed: boolean; /** * Render only the toggle, for the narrow slot of a folded band. Defaults to * `collapsed`; a board that peeks a collapsed band open passes `false` so * the caption shows the name while the toggle still offers to pin it open. */ compact?: boolean | undefined; /** Accessible name for the toggle, such as "Collapse To do". */ toggleLabel: string; onCollapsedChange: (collapsed: boolean, activation: KanbanBandToggleActivation) => void; /** Band menu or other controls, after the toggle. */ actions?: ReactNode; }; /** * The band line above a run of columns: one `KANBAN_BAND_CAPTION_ROW_HEIGHT` * row of toggle, swatch, name, and count. * * The line carries the chrome row height and sets its name a step heavier than * a column title, because the band names the columns under it: a smaller label * on a shorter line read as subordinate to the very columns it groups. * Folded, only the toggle remains in this line; the band's name moves down * into the narrow column body, where the height is already there. */ export declare const KanbanColumnBandHeader: ({ title, swatch, meta, collapsed, compact, toggleLabel, onCollapsedChange, actions }: KanbanColumnBandHeaderProps) => import("react").JSX.Element; //#endregion