import { RefCallback, type JSX } from 'react'; import * as React from 'react'; import { SelectableValue } from '@grafana/data'; import { ToggleAllState } from './types'; export interface ToggleAllOptions { state: ToggleAllState; selectAllClicked: () => void; selectedCount?: number; } interface SelectMenuProps { maxHeight: number; innerRef: RefCallback; innerProps: {}; selectProps: { toggleAllOptions?: ToggleAllOptions; components?: { Option?: (props: React.PropsWithChildren>) => JSX.Element; }; }; } export declare const SelectMenu: { ({ children, maxHeight, innerRef, innerProps, selectProps, }: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element; displayName: string; }; interface VirtualSelectMenuProps { children: React.ReactNode; innerRef: React.Ref; focusedOption: T; innerProps: JSX.IntrinsicElements['div']; options: T[]; maxHeight: number; selectProps: { toggleAllOptions?: ToggleAllOptions; components?: { Option?: (props: React.PropsWithChildren>) => JSX.Element; }; }; } export declare const VirtualizedSelectMenu: { ({ children, maxHeight, innerRef: scrollRef, options, selectProps, focusedOption, }: VirtualSelectMenuProps): import("react/jsx-runtime").JSX.Element | null; displayName: string; }; interface SelectMenuOptionProps { isDisabled: boolean; isFocused: boolean; isSelected: boolean; indeterminate?: boolean; innerProps: JSX.IntrinsicElements['div']; innerRef: RefCallback; renderOptionLabel?: (value: SelectableValue) => JSX.Element; data: SelectableValue; } export declare const SelectMenuOptions: { ({ children, data, innerProps, innerRef, isFocused, isSelected, renderOptionLabel, }: React.PropsWithChildren>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export {};