import type { ReactNode, RefAttributes } from "react"; import type { DOMProps } from "../../types/dom"; import "./Segment.css"; export type SegmentElementType = HTMLDivElement; export interface SegmentProps extends DOMProps, RefAttributes { className?: string; heading?: string; /** Background colour for Segment */ colour?: "subtle" | "primary" | "secondary"; /** When inverted, text is white. Use on darker backgrounds. */ inverted?: boolean; children?: ReactNode; } declare function Segment({ ref, ...props }: SegmentProps): import("react/jsx-runtime").JSX.Element; declare namespace Segment { var displayName: string; } export { Segment };