import type { LinkProps } from '@mui/material'; import type { NavigateOptions, To } from 'react-router'; /** Properties accepted by the link only href component. */ export interface LinkOnlyHrefProps { /** Href used by the link only href props. */ href?: string; /** To used by the link only href props. */ to?: never; /** To options used by the link only href props. */ toOptions?: never; } /** Properties accepted by the link only to component. */ export interface LinkOnlyToProps { /** Href used by the link only to props. */ href?: never; /** To used by the link only to props. */ to?: To; /** To options used by the link only to props. */ toOptions?: NavigateOptions; } /** Properties accepted by the link no to or href component. */ export interface LinkNoToOrHrefProps { /** Href used by the link no to or href props. */ href?: never; /** To used by the link no to or href props. */ to?: never; /** To options used by the link no to or href props. */ toOptions?: never; } /** Properties accepted by the link href or to or no component. */ export type LinkHrefOrToOrNoProps = LinkOnlyHrefProps | LinkOnlyToProps | LinkNoToOrHrefProps; /** Properties accepted by the link href and to component. */ export interface LinkHrefAndToProps { /** Href used by the link href and to props. */ href?: string; /** To used by the link href and to props. */ to?: To; /** To options used by the link href and to props. */ toOptions?: NavigateOptions; } /** As link href or to props used by the link public API. */ export declare const asLinkHrefOrToProps: (props: LinkHrefAndToProps) => LinkHrefOrToOrNoProps; /** Properties accepted by the link ex base component. */ export interface LinkExBaseProps extends Omit { /** Disable user events used by the link ex base props. */ disableUserEvents?: boolean; /** Funnel used by the link ex base props. */ funnel?: string; /** Intent used by the link ex base props. */ intent?: string; /** Placement used by the link ex base props. */ placement?: string; } /** Properties accepted by the link ex component. */ export type LinkExProps = LinkExBaseProps & LinkHrefOrToOrNoProps; //# sourceMappingURL=LinkExProps.d.ts.map