/// import type { LocaleProps, Option, Options, ThemeProps } from 'jamis-core'; import type { PropsWithChildren } from 'react'; import React from 'react'; export interface ListMenuProps extends PropsWithChildren, ThemeProps, LocaleProps { options: Options; disabled?: boolean; selectedOptions?: Options; highlightIndex?: number | null; onSelect?: (e: any, option: Option) => void; placeholder: string; itemRender: (option: Option) => JSX.Element; getItemProps: (props: { item: Option; index: number; }) => any; prefix?: JSX.Element; } interface RenderResult { items: Array; index: number; } export declare class ListMenu extends React.Component { static defaultProps: { placeholder: string; itemRender: (option: Option) => JSX.Element; getItemProps: (props: { item: Option; index: number; }) => null; }; renderItem(result: RenderResult, option: Option, optionIndex: number): RenderResult; render(): JSX.Element; } declare const _default: { new (props: Omit, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps): { context: string; ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }, keyof ThemeProps> & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType<{ new (props: Pick, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { context: string; ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof ListMenu; }>; } & import("hoist-non-react-statics").NonReactStatics<{ new (props: Pick, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { context: string; ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof ListMenu; }, {}> & { ComposedComponent: { new (props: Pick, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }): { context: string; ref: any; childRef(ref: any): void; getWrappedInstance(): any; render(): JSX.Element; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>): any; componentDidUpdate?(prevProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, prevState: Readonly<{}>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, "classPrefix" | "classnames" | "children" | "className" | "theme" | "disabled" | "prefix" | "onSelect" | "options" | "selectedOptions" | "highlightIndex"> & { placeholder?: string | undefined; itemRender?: ((option: Option) => JSX.Element) | undefined; getItemProps?: ((props: { item: Option; index: number; }) => any) | undefined; } & {} & { locale?: string | undefined; translate?: ((str: string, ...args: any[]) => string) | undefined; }>, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; contextType: React.Context; ComposedComponent: React.ComponentType; } & import("hoist-non-react-statics").NonReactStatics & { ComposedComponent: typeof ListMenu; }; }; export default _default;