import { default as React, AnchorHTMLAttributes, ForwardRefExoticComponent, ReactElement } from 'react';
import { BaseProps } from '../../../libraries/common-types/src/common-types';
type WithMeta = {
    meta?: true;
    baseUrl: string;
};
type WithoutMeta = {
    meta: false;
    baseUrl?: never;
};
export type BreadcrumbsProps = Omit<BaseProps<"nav">, "aria-label" | "children"> & {
    /** Describes the breadcrumb navigation for screen readers, e.g. "Breadcrumbs" or "Breadcrumb navigation". */
    ["aria-label"]: string;
    children: ReactElement<BreadcrumbsItemProps> | Array<ReactElement<BreadcrumbsItemProps>>;
    /** Set to render the breadcrumbs with light font color. Ideally used when rendered on dark backgrounds. */
    negative?: boolean;
    /** Set to render the last breadcrumb item in bold font to indicate that this is the current page. Setting this to false will render the last item as a normal breadcrumb link. Defaults to true. */
    highlightLast?: boolean;
    /** Set to not render the home icon in front of the first breadcrumb item. */
    hideHomeIcon?: boolean;
    linkElement?: ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement>> | "a";
    /** The last breadcrumb will be a link and not have aria-current="page" */
    excludeCurrentPage?: boolean;
} & (WithMeta | WithoutMeta);
export type BreadcrumbsItemProps = Omit<BaseProps<"li">, "onClick" | "children"> & {
    children: string;
    href?: string;
    onClick?: () => void;
    /** @ignore */
    current?: boolean;
    /** @ignore */
    first?: boolean;
    /** @ignore */
    last?: boolean;
    /** @ignore */
    linkElement?: BreadcrumbsProps["linkElement"];
    /** @ignore */
    meta?: boolean;
    /** @ignore */
    negative?: boolean;
    /** @ignore */
    excludeCurrentPage?: boolean;
};
declare const Breadcrumbs: {
    ({ ["aria-label"]: ariaLabel, baseUrl, children, className, excludeCurrentPage, linkElement, meta, negative, highlightLast, hideHomeIcon, ...props }: BreadcrumbsProps): React.JSX.Element;
    Item: ({ href, ["data-testid"]: dataTestId, children, current, linkElement, negative, onClick, first, last, excludeCurrentPage, ...props }: BreadcrumbsItemProps) => React.JSX.Element;
};
declare const Item: ({ href, ["data-testid"]: dataTestId, children, current, linkElement, negative, onClick, first, last, excludeCurrentPage, ...props }: BreadcrumbsItemProps) => React.JSX.Element;
export { Breadcrumbs, Item as BreadcrumbsItem };
//# sourceMappingURL=breadcrumbs.d.ts.map