import React from 'react';
type SegmentProps<T> = {
    item: T[];
    value: T;
    onChange: (value: T) => void;
};
declare const Segment: <T extends string>({ item, value, onChange }: SegmentProps<T>) => React.JSX.Element;
export type { SegmentProps };
export { Segment };
