import React from "react";
import { To } from "history";

//#region src/deprecated/UnderlineNav/UnderlineNav.d.ts
type UnderlineNavProps = {
  actions?: React.ReactNode;
  align?: 'right';
  full?: boolean;
  label?: string;
} & React.ComponentProps<'nav'>;
declare function UnderlineNav({
  actions,
  className,
  align,
  children,
  full,
  label,
  ...rest
}: UnderlineNavProps): React.JSX.Element;
type StyledUnderlineNavLinkProps = {
  to?: To;
  selected?: boolean;
};
type UnderlineNavLinkProps = React.ComponentProps<'a'> & StyledUnderlineNavLinkProps;
/**
 * @deprecated UnderlineNav is deprecated and will be replaced by the draft `UnderlineNav` in the next major release. See https://primer.style/react/drafts/UnderlineNav2 for more details.
 */
declare const _default: typeof UnderlineNav & {
  Link: React.ForwardRefExoticComponent<Omit<UnderlineNavLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
};
//#endregion
export { type UnderlineNavLinkProps, UnderlineNavProps, _default as default };