type Chip = { /** Width of the chip. */ width?: number; }; type ChipGroupState = { chips: Record; control?: { width?: number; show?: 'auto' | 'always'; }; }; export type BasicChipPayload = { /** A unique identifier for this chip. */ uniqueId: string; }; type AddChipPayload = BasicChipPayload & Partial; type UpdateChipPayload = BasicChipPayload & Partial; export declare const enum ChipGroupActions { ADDCHIP = "add", UPDATECHIP = "update", REMOVECHIP = "remove", ADDCONTROL = "add-control", UPDATECONTROL = "update-control", REMOVECONTROL = "remove-control" } export type ChipGroupReducerActions = { type: ChipGroupActions.ADDCHIP; payload: AddChipPayload; } | { type: ChipGroupActions.UPDATECHIP; payload: UpdateChipPayload; } | { type: ChipGroupActions.REMOVECHIP; payload: BasicChipPayload; } | { type: ChipGroupActions.ADDCONTROL; payload: { width: number; }; } | { type: ChipGroupActions.UPDATECONTROL; payload: { width?: number; show?: 'auto' | 'always'; }; } | { type: ChipGroupActions.REMOVECONTROL; payload: Record; }; /** ChipGroup reducer function used for managing the state of the chips. */ export declare function chipGroupReducer(state: ChipGroupState, action: ChipGroupReducerActions): ChipGroupState; export {};