export type SegmentedControlSize = 'sm' | 'md' | 'lg';
export type SegmentedControlLayout = 'hug' | 'fill';
export interface SegmentedControlContextValue {
    value: string;
    onChange: (value: string) => void;
    size: SegmentedControlSize;
    layout: SegmentedControlLayout;
    isDisabled: boolean;
    /**
     * True when the whole control is disabled *and* a `disabledMessage` is set.
     * In that mode the selected segment stays focusable (via `aria-disabled`
     * rather than being dropped from the tab order) so the group's disabled-reason
     * tooltip is keyboard-discoverable; selection is still blocked.
     */
    hasDisabledMessage?: boolean;
}
export declare const SegmentedControlContext: import("react").Context<SegmentedControlContextValue | null>;
export declare function useSegmentedControlContext(): SegmentedControlContextValue;
//# sourceMappingURL=SegmentedControlContext.d.ts.map