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