import { ReactElement, ReactNode } from 'react';
import { Generic } from '../generic';
import { Text } from '../text';
export type HighlightVariant = "last" | "first" | "all";
export type BreadcrumbProps<E extends Generic.ElementType = "p"> = Omit<Text.TextProps<E>, "children"> & {
    children: ReactNode;
    highlightVariant?: HighlightVariant;
};
export type SegmentProps<E extends Generic.ElementType = "span"> = Text.TextProps<E>;
export declare const Segment: <E extends Generic.ElementType = "span">({ children, ...rest }: SegmentProps<E>) => ReactElement;
export declare const Breadcrumb: ({ children, highlightVariant, ...rest }: BreadcrumbProps) => ReactElement;
interface MapURLSegmentsProps {
    href: string;
    segment: string;
    index: number;
}
export declare const mapURLSegments: (url: string, callback: (props: MapURLSegmentsProps) => ReactElement) => ReactElement<unknown, string | import('react').JSXElementConstructor<any>>[];
export {};
//# sourceMappingURL=Breadcrumb.d.ts.map