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 NumberedListBaseProps = {
    /** Ekstra klassenavn */
    className?: string;
    /** Innholdet */
    children: React.ReactNode;
    /** List type (1, A, a, I, i) */
    type?: '1' | 'A' | 'a' | 'I' | 'i';
    /** Spacing around the component (same as Text and Heading components) */
    spacing?: TypographySpacing;
};
export type NumberedListProps<C extends React.ElementType> = PolymorphicComponentProps<C, NumberedListBaseProps>;
/**
 * @beta Experimental component - may have breaking changes in future releases
 */
export declare const NumberedList: <C extends React.ElementType = "ol">({ className, type, spacing, as, children, ...rest }: NumberedListProps<C>) => JSX.Element;
export {};
