import { AsElementProps, ElementProps, WithVisuallyHiddenTextProps } from "../../../types/shared.mjs"; import { Component } from "../../../internal/factory/factory.mjs"; import { PolymorphicComponentProps } from "../../../internal/factory/create-polymorphic-factory.mjs"; import { BaseProps } from "../../core/base/Base.mjs"; import React from "react"; //#region src/components/navigation/contents-list/ContentsList.d.ts type ContentsListProps = { role?: 'navigation'; 'aria-label': string; } & ElementProps<'nav', 'role' | 'aria-label'> & WithVisuallyHiddenTextProps; declare const ContentsList: Component<{ props: ContentsListProps; ref: HTMLElement; staticComponents: { List: typeof ContentsListList; Item: typeof ContentsListItem; Link: typeof ContentsListLink; }; }>; type ContentsListListProps = ElementProps<'ol'>; declare const ContentsListList: { ({ className, ...props }: ContentsListListProps): React.JSX.Element; displayName: string; }; type ContentsListItemProps = { active?: boolean; } & ElementProps<'li'>; declare const ContentsListItem: { ({ active, className, ...props }: ContentsListItemProps): React.JSX.Element; displayName: string; }; type ContentsListLinkProps = { active?: boolean; } & BaseProps & AsElementProps<'a'>; declare const ContentsListLink: ((props: PolymorphicComponentProps) => React.ReactElement) & Omit & AsElementProps & Omit, "className" | "children" | "as" | "active"> & { ref?: any; renderRoot?: (props: any) => any; }) | ({ active?: boolean; } & { className?: string; } & { children?: React.ReactNode | undefined; } & AsElementProps<"a"> & { as: keyof React.JSX.IntrinsicElements | React.JSXElementConstructor; renderRoot?: (props: Record) => any; })>, never> & Record; //#endregion export { ContentsList, ContentsListItem, ContentsListItemProps, ContentsListLink, ContentsListLinkProps, ContentsListList, ContentsListListProps, ContentsListProps };