import React from 'react'; import { DefaultProps, MantineColor, MantineNumberSize, Selectors, Variants } from '@asuikit/styles'; import useStyles, { NavLinkStylesParams } from './NavLink.styles'; export type NavLinkStylesNames = Selectors; export interface NavLinkProps extends DefaultProps { /** Main link content */ label?: React.ReactNode; /** Secondary link description */ description?: React.ReactNode; /** Icon displayed on the left side of the label */ icon?: React.ReactNode; /** Section displayed on the right side of the label */ rightSection?: React.ReactNode; /** Determines whether link should have active styles */ active?: boolean; /** Key of theme.colors, active link color */ color?: MantineColor; /** Active link variant */ variant?: Variants<'filled' | 'light' | 'subtle'>; /** If prop is set then label and description will not wrap on the next line */ noWrap?: boolean; /** Child links */ children?: React.ReactNode; /** Controlled nested items collapse state */ opened?: boolean; /** Uncontrolled nested items collapse initial state */ defaultOpened?: boolean; /** Called when open state changes */ onChange?(opened: boolean): void; /** If set to true, right section will not rotate when collapse is opened */ disableRightSectionRotation?: boolean; /** Key of theme.spacing or any valid CSS value to set collapsed links padding-left */ childrenOffset?: MantineNumberSize; /** Adds disabled styles to root element */ disabled?: boolean; } export declare const _NavLink: React.ForwardRefExoticComponent>; export declare const NavLink: ((props: import("@asuikit/utils").PolymorphicComponentProps) => React.ReactElement>) & Omit, "component" | keyof NavLinkProps> & { ref?: any; }) | (NavLinkProps & { component: React.ElementType; })>, never> & Record; //# sourceMappingURL=NavLink.d.ts.map