import * as React from 'react'; import '@vtmn/css-list/dist/index-with-vars.css'; import { VtmnListSize } from './types'; export declare const VtmnListItemStartVisual: ({ children, className, ...props }: React.ComponentPropsWithoutRef<'div'>) => JSX.Element; export declare const VtmnListItemText: ({ children, className, ...props }: React.ComponentPropsWithoutRef<'div'>) => JSX.Element; export declare const VtmnListItemEndAction: ({ children, className, ...props }: React.ComponentPropsWithoutRef<'div'>) => JSX.Element; /** * Custom component to inject elements under the link * NB: Outside the link must be only the VtmnListItemEndAction because it can be a action button * @param children * @param className * @param rel * @param target * @param tabIndex * @param props * @constructor */ export declare const VtmnListItemLink: ({ children, className, rel, target, tabIndex, ...props }: React.ComponentPropsWithoutRef<'a'>) => JSX.Element; export interface VtmnListItemProps extends React.ComponentPropsWithoutRef<'li'> { /** * Disabled state of the item * @type {boolean} * @defaultValue false */ disabled?: boolean; /** * Whether to show the divider under the item * @type {boolean} * @defaultValue false */ divider?: boolean; /** * Size of the item * @type {VtmnListSize} * @defaultValue 'medium' */ size?: VtmnListSize; /** * Tab index of the item * @type {number} */ tabIndex?: number; /** * Redirection link * @type {string} */ href?: string; /** * Target of the link * @type {string} */ target?: string; /** * Rel of the link * @type {string} */ rel?: string; } export declare const VtmnListItem: ({ disabled, divider, size, href, target, rel, tabIndex, children, className, ...props }: VtmnListItemProps) => JSX.Element; export interface VtmnListProps extends React.ComponentPropsWithoutRef<'ul'> { /** * Whether to add divider or not between the items in the list * @type boolean * @defaultValue true */ divider?: boolean; /** * Whether to disable every items in the list * @type boolean * @defaultValue true */ disabled?: boolean; } export declare const VtmnList: ({ divider, disabled, children, className, ...props }: VtmnListProps) => JSX.Element; declare const MemoVtmnList: React.MemoExoticComponent<({ divider, disabled, children, className, ...props }: VtmnListProps) => JSX.Element>; export default MemoVtmnList;