import { type StateProp, type WatchProp } from '@innet/dom'; import { type IconProp } from '../../icons'; import { type FlexProps } from '../../layout'; export interface ToggleBarValue { value: string; label?: any; icon?: IconProp; } export type ToggleBarOnChange = (value: string) => void; export type ToggleBarItemAction = () => void; export interface ToggleBarItemOptions { className: WatchProp; onchange: ToggleBarItemAction; onfocus: ToggleBarItemAction; onblur: ToggleBarItemAction; } export type ToggleBarRenderValue = (item: ToggleBarValue, options: ToggleBarItemOptions) => any; export type ToggleBarProps = FlexProps; value?: StateProp; width?: StateProp; renderValue?: ToggleBarRenderValue; onchange?: ToggleBarOnChange; }>; export declare function defaultToggleBarRender({ value, label, icon }: ToggleBarValue, { className, onchange, onfocus, onblur, }: ToggleBarItemOptions): any; export declare function ToggleBar({ values, value, onchange, renderValue, style, width, ...props }: ToggleBarProps): any;