import { type AnchorHTMLAttributes, type ReactNode } from 'react'; import type { DefaultProps } from '../../types'; import type { MergeRight } from '../../utilities'; export type SkipLinkProps = MergeRight, { /** * The content to display inside the skiplink. */ children: ReactNode; /** * Href of an element in the DOM the skiplink should skip to. E.g #main-content */ href: string; }>; /** * SkipLink component, used to display a skip link within the page. * Place it at the top of the page to allow users to skip to the main content. * * @example * Skip to main content */ export declare const SkipLink: import("react").ForwardRefExoticComponent, "children" | "href"> & { /** * The content to display inside the skiplink. */ children: ReactNode; /** * Href of an element in the DOM the skiplink should skip to. E.g #main-content */ href: string; } & import("react").RefAttributes>; //# sourceMappingURL=skip-link.d.ts.map