import * as React from 'react'; import { LinkProps as NextLinkProps } from 'next/link'; import { LinkProps as MuiLinkProps } from '@mui/material/Link'; /** * File to keep in sync with: * * - /packages/mui-docs/src/Link/Link.tsx * - /examples/material-ui-nextjs-pages-router/src/Link.js * - /examples/material-ui-nextjs-pages-router-ts/src/Link.tsx * - /examples/material-ui-nextjs-ts-v4-v5-migration/src/Link.tsx */ interface NextLinkComposedProps extends Omit, 'href'>, Omit { to: NextLinkProps['href']; linkAs?: NextLinkProps['as']; } export declare const NextLinkComposed: React.ForwardRefExoticComponent>; export type LinkProps = { activeClassName?: string; as?: NextLinkProps['as']; href: NextLinkProps['href']; linkAs?: NextLinkProps['as']; noLinkStyle?: boolean; } & Omit & Omit; export declare const Link: React.ForwardRefExoticComponent & React.RefAttributes>; export {};