import type { ReactNode, Ref } from 'react';
import type { BaseProps, ForwardRefForwardPropsComponent, NoChildrenProp } from '../../types';
export interface ListProps extends BaseProps, NoChildrenProp {
    /** List content. */
    items: ReactNode[];
    /** List Heading. */
    heading?: string;
    /** Number of list items that need to be shown. */
    count?: number;
    /** Callback to display more/less items. */
    onToggleShow?: () => void;
    /** Ref forwarded to the wrapping element. */
    ref?: Ref<HTMLDivElement>;
}
export interface VisualListProps extends ListProps {
    /** Type of list. */
    variant: 'ordered' | 'unordered';
    /** Depth of list (used for recursion). */
    depth?: number;
}
declare const olTypes: readonly ["decimal", "lower-alpha", "lower-roman"];
declare const ulTypes: readonly ["disc", "circle", "square"];
export declare const StyledList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
    depth: number;
    listType: (typeof olTypes)[number] | (typeof ulTypes)[number];
}>> & string;
export declare const StyledSublistItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
declare const List: ForwardRefForwardPropsComponent<VisualListProps>;
export default List;
//# sourceMappingURL=List.d.ts.map