import { type EventEmitter } from '../../stencil-public-runtime';
import type { SegmentedControlUpdateEventDetail } from './types';
import type { Theme } from '../../utils/styles';
/**
* @component diwa-segmented-control
*
* Container that groups diwa-segmented-control-item children into a
* mutually exclusive selection control. Tracks the active value and
* propagates state down to items.
*
* Usage:
* setView(e.detail.value)}>
* Day
* Week
* Month
*
*/
export declare class DiwaSegmentedControl {
host: HTMLDiwaSegmentedControlElement;
/** Per-component theme override. */
theme: Theme;
/** Currently selected item value. */
value: string;
/** Disables all items. */
disabled: boolean;
/** Smaller item sizing. */
compact: boolean;
/**
* Emitted when the active item changes.
*/
update: EventEmitter;
handleItemSelect(event: CustomEvent<{
value: string;
}>): void;
private hasLoaded;
componentDidLoad(): void;
onPropChange(): void;
private syncChildren;
render(): any;
}
//# sourceMappingURL=diwa-segmented-control.d.ts.map