import * as React from "react"; export type SharedRoomMode = "create" | "join"; export interface SharedRoomValue { enabled: boolean; mode: SharedRoomMode; /** Only meaningful in "join" mode. */ groupId: string; /** Optional label used when creating a new shared-room group. */ groupLabel?: string; } export declare const emptySharedRoomValue: SharedRoomValue; export declare function clearSharedRoomValue(): SharedRoomValue; export interface SharedRoomSectionProps { value: SharedRoomValue; onChange: (value: SharedRoomValue) => void; /** * The product context for fetching joinable groups. When unset, the join * combobox is disabled even if the user toggles into join mode. */ productId?: string; enabled?: boolean; labels?: { toggle?: string; createMode?: string; joinMode?: string; selectPlaceholder?: string; noGroups?: string; createHint?: string; createSheetTitle?: string; groupLabel?: string; groupLabelPlaceholder?: string; createAction?: string; remove?: string; }; } /** * Shared-room (partaj) attachment section. Operators can create a new group in * a sheet or join an existing product-scoped group with an async combobox. */ export declare function SharedRoomSection({ value, onChange, productId, enabled, labels, }: SharedRoomSectionProps): React.JSX.Element;