import type { ChangeEvent } from 'react'; import type { IconSize } from '@ornament-ui/icons'; import type { SegmentSelectedVariant, SegmentValueProp } from './Segment'; export type SegmentContextState = { name?: string; iconSize?: IconSize; selected?: SegmentValueProp; selectedColor?: SegmentSelectedVariant; disabled?: boolean; onChange?: (event: ChangeEvent) => void; }; export declare const SegmentContext: import("react").Context; export declare const useSegmentContext: () => SegmentContextState;