import type { ReactNode } from 'react'; /** The parts SegmentedControl and segmented Tabs share, so a picker and a set * of views beside it look the same. */ export interface SegmentLayout { /** Segments share the container's width equally. `narrow` does so only on a * phone-width screen and sits at its own width from the `sm` breakpoint, * such as a choice at the head of a form. */ fill?: boolean | 'narrow' | undefined; /** Segments stack as icons with their labels in tooltips, for a collapsed rail. */ iconOnly?: boolean | undefined; /** `sm` fits a page header, a toolbar or a pane's head beside other small * controls; `md` stands on its own. */ size?: 'sm' | 'md' | undefined; } /** A segment's or tab's tone, for a view that needs attention, such as what failed. */ export type SegmentTone = 'warning' | 'danger'; export declare function segmentGroupClassName({ fill, iconOnly }: SegmentLayout): string; export declare function segmentClassName(current: boolean, { fill, iconOnly, size }: SegmentLayout, tone?: SegmentTone | undefined): string; /** How many things a tab or segment holds, as a pill after its label. */ export declare function CountPill({ count, tone }: { count: number; tone?: SegmentTone | undefined; }): import("react").JSX.Element; export declare function SegmentContent({ label, icon, badge, count, tone, iconOnly, }: { label: string; icon?: ReactNode; badge?: ReactNode; count?: number | undefined; tone?: SegmentTone | undefined; iconOnly?: boolean | undefined; }): import("react").JSX.Element;