import { LinkProps } from 'next/link'; import React, { ReactNode } from 'react'; import { useRouter as useRouter$1 } from 'next/navigation'; import * as react_jsx_runtime from 'react/jsx-runtime'; import * as NProgress from 'nprogress'; import * as PropTypes from 'prop-types'; type ExtendedLinkProps = LinkProps & { className?: string; children?: ReactNode | string; target?: React.HTMLAttributeAnchorTarget; style?: React.CSSProperties; id?: string; [key: string]: any; rel?: string; onAbort: React.ReactEventHandler; }; declare const Link: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; declare function linkClicked(event: React.MouseEvent): void; declare function useRouter(): ReturnType; interface Next13NProgressProps { /** * The color of the bar. * @default "#29D" */ color?: string; /** * The start position of the bar. * @default 0.3 */ startPosition?: number; /** * The stop delay in milliseconds. * @default 200 */ stopDelayMs?: number; /** * The height of the bar. * @default 3 */ height?: number; /** * Whether to show the bar on shallow routes. * @default true */ showOnShallow?: boolean; /** * The other NProgress configuration options to pass to NProgress. * @default null */ options?: Partial; /** * The nonce attribute to use for the `style` tag. * @default undefined */ nonce?: string; /** * Use your custom CSS tag instead of the default one. * This is useful if you want to use a different style or minify the CSS. * @default (css) => */ transformCSS?: (css: string) => React.JSX.Element; } declare const _default: React.MemoExoticComponent<{ ({ color, startPosition, stopDelayMs, height, showOnShallow, options, nonce, transformCSS, }: Next13NProgressProps): react_jsx_runtime.JSX.Element; propTypes: { color: PropTypes.Requireable; startPosition: PropTypes.Requireable; stopDelayMs: PropTypes.Requireable; height: PropTypes.Requireable; showOnShallow: PropTypes.Requireable; options: PropTypes.Requireable; nonce: PropTypes.Requireable; transformCSS: PropTypes.Requireable<(...args: any[]) => any>; }; }>; export { Link, _default as Next13NProgress, linkClicked, useRouter };