import { AnchorHTMLAttributes, DetailedHTMLProps, ReactNode } from "react"; import { ButtonProps, LinkProps } from "./components/ListItem"; export type { ButtonProps, LinkProps } from "./components/ListItem"; export declare type JsonStructure = Array<{ items: Array; heading?: string; id: string; }>; export declare type JsonStructureItem = Omit<(ButtonProps & LinkProps) & { id: string; }, "index">; export declare type RenderLink = (props: DetailedHTMLProps, HTMLAnchorElement> & { "data-close-on-select"?: boolean; }) => ReactNode;