import React from 'react';
import { SegmentItem, SegmentSize } from '../../types';
declare type Props = {
    segment: SegmentItem;
    active: boolean;
    size: SegmentSize;
    segmentPadding: string;
    onChange: (segment: SegmentItem) => void;
    setActiveRef: React.Dispatch<React.SetStateAction<React.RefObject<HTMLButtonElement> | undefined>>;
};
export declare function Segment({ segment, active, size, segmentPadding, onChange, setActiveRef, }: Props): JSX.Element;
export {};
