import * as React from 'react'; import { OverridableComponent, OverrideProps } from '../../overridable-component'; import { ILabelProps } from '../../label'; import { IStyledCommonProps } from '../../styled'; import { SidebarLinkClasses } from './sidebar-link-classes'; export interface ISidebarLinkTypeMap { props: AdditionalProps & Pick & IStyledCommonProps & { /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * Title/Label for the link. */ title: React.ReactNode; /** * DOM id for the title element */ titleId?: string; /** * Icon displayed at the start of the link */ startIcon?: React.ReactNode; /** * Icon displayed at the end of the link */ endIcon?: React.ReactNode; /** @deprecated use productReleaseStage instead */ featureAvailability?: 'default' | 'beta' | 'first' | 'new' | 'early'; /** * Availability of the feature. Displays as a label after the title. */ productReleaseStage?: Exclude; /** * Link Variant * @default "primary" */ variant?: 'primary' | 'secondary'; /** * Used for indicating the is the current page. Adds styles and proper accessibility props. */ isActive?: boolean; /** * Additional decoration. Displayed before endIcon. Mainly used for PulsingDot to draw attention. */ decoration?: React.ReactNode; /** * Collapses sidebar when small screen on Click * @default true */ shouldCollapseSidebarOnClick?: boolean; }; defaultComponent: DefaultComponent; } export type ISidebarLinkProps = OverrideProps, DefaultComponent>; export declare const SidebarLink: OverridableComponent;