import { default as React } from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
import { TypographySpacing } from '../types';
/**
 * @beta Experimental component - may have breaking changes in future releases
 */
type ListItemBaseProps = {
    /** Ekstra klassenavn */
    className?: string;
    /** Innholdet */
    children: React.ReactNode;
    /** Tittel */
    title?: React.ReactNode;
    /** Spacing around the component (same as Text and Heading components) */
    spacing?: TypographySpacing;
};
export type ListItemProps<C extends React.ElementType> = PolymorphicComponentProps<C, ListItemBaseProps>;
/**
 * @beta Experimental component - may have breaking changes in future releases
 */
export declare const ListItem: <C extends React.ElementType = "li">({ children, className, title, spacing, as, ...rest }: ListItemProps<C>) => JSX.Element;
export {};
