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; } 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, 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, HTMLLIElement>, never>> & string; declare const List: ForwardRefForwardPropsComponent; export default List; //# sourceMappingURL=List.d.ts.map