/** * One row in the {@link showMobileSortGroupSheet} bottom sheet. */ export interface IMobileSortGroupSheetItem { readonly id: string; readonly label: string; readonly checked: boolean; /** * Logical group used for visually separating sort vs. group toggles * with a divider. Items with the same `group` value render together. */ readonly group: string; /** * Optional section title rendered above this group's first item. Only * the first item of a `group` should set `groupTitle` — subsequent * items reuse the existing section. */ readonly groupTitle?: string; } /** * Show a phone-friendly bottom sheet of single-select toggle items. * * Renders as a fixed-position overlay docked at the bottom of the * viewport with a translucent backdrop. Tapping a row resolves with that * row's `id`; tapping the backdrop, the close button, or pressing Escape * resolves with `undefined`. * * The sheet is purpose-built for mobile UX (large touch targets, native * sheet feel, safe-area-aware) — it is intentionally simpler than a * generic context menu / quick pick. * * @param workbenchContainer The workbench root element. The overlay is * appended here and removed on dismiss. * @param title Sheet title displayed in the header. * @param items Items to render. Items grouped by `group` are visually * separated. * @returns A promise that resolves with the selected item id, or * `undefined` if dismissed without selection. */ export declare function showMobileSortGroupSheet(workbenchContainer: HTMLElement, title: string, items: readonly IMobileSortGroupSheetItem[]): Promise;