import { DialogSelectElement, ActionSelect } from '../structs/slack'; import { OptionLabel } from '../type-aliases'; export declare const useOptionGroup:

(element: ActionSelect

| DialogSelectElement

, propName: P) => (propValue: string) => { useOption: (propValue: string, value: string | number) => { updateLabel: (cb: (label: P extends "label" ? string : never) => P extends "label" ? string : never) => void; updateValue: (cb: (value: string | number) => string | number) => void; }; };