import React from 'react'; import { JBOptionListWebComponent } from 'jb-select'; type TOption = any; type TValue = any; declare global { namespace JSX { interface IntrinsicElements { 'jb-option-list': JBOptionListType; } interface JBOptionListType extends React.DetailedHTMLProps>, JBOptionListWebComponent> { class?: string; } } } export declare const JBOptionList: React.ForwardRefExoticComponent & React.RefAttributes>; export type JBOptionListProps = { optionList: TOption[]; getTitle?: (option: TOption) => string; getValue?: (option: TOption) => TValue; getContentDOM?: (option: TOption) => HTMLElement; }; export {};